diff --git a/template/build/dev-server.js b/template/build/dev-server.js index 724bc51f6d..b389974d31 100644 --- a/template/build/dev-server.js +++ b/template/build/dev-server.js @@ -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) {