willyelm / pug-html-loader

Pug HTML loader for webpack

Home Page:https://github.com/willyelm/pug-html-loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HMR pug files?

bastienff opened this issue · comments

I managed to transpile the pug files and split them into a build folder but hmr is not working.

Any idea how make this work with hmr?

In my case, it resolved when changed webpack-dev-server option.

# package.json
-    "start": "webpack-dev-server --hot --inline --progress --colors --watch --content-base dist"
+    "start": "webpack-dev-server --inline --progress --colors --watch --content-base dist"

@bastienff #18 maybe it will help you. try update to 1.1.0 version