Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Commit 5f4d89f

Browse files
shaodahongLinusBorg
authored andcommitted
Fix console error (vuejs-templates#784)
Fix console error`Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING`
1 parent d7c572d commit 5f4d89f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/build/dev-server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
3131
})
3232

3333
var hotMiddleware = require('webpack-hot-middleware')(compiler, {
34-
log: () => {}
34+
log: () => {},
35+
heartbeat: 2000
3536
})
3637
// force page reload when html-webpack-plugin template changes
3738
compiler.plugin('compilation', function (compilation) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy