Skip to content

Commit

Permalink
build: don't add HMR plugin, because WDS would do that
Browse files Browse the repository at this point in the history
  • Loading branch information
rocka committed Feb 25, 2019
1 parent d1cfeb6 commit 7f5ab8f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion script/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,5 @@ const wdsOpt = {
// enable HMR.
// see https://webpack.js.org/guides/hot-module-replacement/#via-the-node-js-api
WebpackDevServer.addDevServerEntrypoints(compileCfg, wdsOpt);
compileCfg.plugins.push(new webpack.HotModuleReplacementPlugin());

new WebpackDevServer(webpack(compileCfg), wdsOpt).listen(config.devPort);

0 comments on commit 7f5ab8f

Please sign in to comment.