1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

fix WatchPagesPlugin to use webpack/hot/dev-server

This commit is contained in:
nkzawa 2016-10-25 23:42:36 +09:00
parent 1bf98eaa6b
commit 42725614d9

View file

@ -26,7 +26,7 @@ export default class WatchPagesPlugin {
const name = getEntryName(f)
if (compiler.hasEntry(name)) return
const entries = ['webpack/hot/only-dev-server', f]
const entries = ['webpack/hot/dev-server', f]
compiler.addEntry(entries, name)
})