Webpack-dev-server is reloading but not reflecting the changes I have made -
i cannot webpack reload site when save file. according these docs, "lframe" mode can reload page , no additional configuration needed. navigate http://«host»:«port»/webpack-dev-server/«path. except while looks reload happens (the webpack-dev-server top bar says "recompiling..") site never updates refreshes reflect changes made. in fact, have exit out of server, rerun webpack , boot again notice changes.
here config:
var path = require('path'); var webpack = require('webpack'); module.exports = { entry: ['./src/app.js'], output: { path: path.resolve(__dirname, "dist"), publicpath:"/", filename:"bundle.js" }, module: { loaders: [ { test: /.jsx?$/, loader: 'babel-loader', exclude: /node_modules/, query: { presets: ['es2015', 'react'] } } ] } };
Comments
Post a Comment