browserify-hmr
browserify-hmr copied to clipboard
Live Reloading
First, great work on this module. It works well with budo.
In webpack, when a module without module.hot
(like the app root) is changed, it triggers a full page refresh. I am not sure how to achieve this with browserify-hmr
. I can include LiveReload but then any module changes will trigger a full page refresh.
Any ideas?
This isn't currently supported. It could be added as an option, though it's blocked on #14 as browserify-hmr currently fails to correctly identify the situation where a module without module.hot
is changed. (I previously started adding some tests to identify the situation in the "fail" branch. That bug is causing an increasing number of people problems lately; I should focus on it soon.)
Huge +1 from me on this. Anything I can do to help out here?
@AgentME I sent over a PR that addresses this at least in a temporary way in #20, and @mattdesl it works nicely with budo for me.