Skip to content

Commit 236510b

Browse files
committed
reload when non-hot module is updated
1 parent e839b80 commit 236510b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/webpack.dev.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ config.devtool = 'eval-source-map'
77

88
// add hot-reload related code to entry chunks
99
var polyfill = 'eventsource-polyfill'
10-
var hotClient = 'webpack-hot-middleware/client?quiet=true'
10+
var hotClient = 'webpack-hot-middleware/client?noInfo=true&reload=true'
1111
Object.keys(config.entry).forEach(function (name, i) {
1212
var extras = i === 0 ? [polyfill, hotClient] : [hotClient]
1313
config.entry[name] = extras.concat(config.entry[name])

0 commit comments

Comments
 (0)