mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-08-20 18:29:23 -04:00
Merge pull request #60 from cwillisf/watch-poll
Windows compat: Tell webpack-dev-server to poll
This commit is contained in:
commit
8be289b7ee
1 changed files with 8 additions and 1 deletions
|
@ -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: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue