Commit 42725614 authored by nkzawa's avatar nkzawa

fix WatchPagesPlugin to use webpack/hot/dev-server

parent 1bf98eaa
...@@ -26,7 +26,7 @@ export default class WatchPagesPlugin { ...@@ -26,7 +26,7 @@ export default class WatchPagesPlugin {
const name = getEntryName(f) const name = getEntryName(f)
if (compiler.hasEntry(name)) return if (compiler.hasEntry(name)) return
const entries = ['webpack/hot/only-dev-server', f] const entries = ['webpack/hot/dev-server', f]
compiler.addEntry(entries, name) compiler.addEntry(entries, name)
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment