diff --git a/package.json b/package.json index b999ea2..24cfadd 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "babel-loader": "^6.2.1", "babel-preset-es2015": "^6.3.13", "babel-preset-react": "^6.3.13", - "webpack": "^1.12.12" + "webpack": "^1.12.12", + "webpack-livereload-plugin": "^0.9.0" }, "dependencies": { "react": "^0.14.7", diff --git a/templates/index.html b/templates/index.html index a74b3ac..65b9214 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,4 +6,5 @@ + diff --git a/webpack.config.js b/webpack.config.js index f3678d2..ceef199 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,6 @@ var webpack = require('webpack'); +var LiveReloadPlugin = require('webpack-livereload-plugin'); + module.exports = { entry: [ "./js/app.js" @@ -20,5 +22,6 @@ module.exports = { ] }, plugins: [ + new LiveReloadPlugin() ] };