Skip to content

Commit

Permalink
Fix console error (#784)
Browse files Browse the repository at this point in the history
Fix console error`Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING`
  • Loading branch information
shaodahong authored and LinusBorg committed Jul 13, 2017
1 parent d7c572d commit 5f4d89f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template/build/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
})
var hotMiddleware = require('webpack-hot-middleware')(compiler, {
log: () => {}
log: () => {},
heartbeat: 2000
})
// force page reload when html-webpack-plugin template changes
compiler.plugin('compilation', function (compilation) {
Expand Down

0 comments on commit 5f4d89f

Please sign in to comment.