Merge pull request from cwillisf/watch-poll

Windows compat: Tell webpack-dev-server to poll
This commit is contained in:
Chris Willis-Ford 2016-11-02 14:02:31 -04:00 committed by GitHub
commit 8be289b7ee

View file

@ -4,7 +4,14 @@ var webpack = require('webpack');
var base = {
devServer: {
contentBase: path.resolve(__dirname, 'playground'),
host: '0.0.0.0'
host: '0.0.0.0',
watchOptions: {
aggregateTimeout: 300,
poll: 1000
},
stats: {
colors: true
}
},
module: {
loaders: [