Webpack dev server live reload with proxy
问题 I'm running a PHP app at localhost:8000 . I want to use webpack-dev-server to hot reload css , react and js components. Had set a proxy to http://localhost:8000 but webpack-dev-server isn't reloading the browser. Here's the webpack.config.js : var path = require( 'path' ); var autoprefixer = require( 'autoprefixer' ); module.exports = { entry: [ './src/app.js' ], output: { path: path.join( __dirname, 'dist' ), publicPath: 'http://localhost:8000', filename: 'app.js' }, module: { loaders: [ {