webpack - webpack3, Can I use watch mode and hot module replacement togerther? -


i use webpack -d -w develop.

but want use hmr,so can develop without using command + r reload whole page.

i add hmr plugin new webpack.hotmodulereplacementplugin()

when modify source files, webpack generate hot-update.js (1.3ddecfce7816ba3d41d6.hot-update.js) in dist directory.

but there nothing change in page, hmr not working expected.

i still need reload whole page.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -