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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -