hot-module-reload
hot-module-reload copied to clipboard
A previously <require>d CSS does not Hot-unload when removed from a View
With the current implementation, there is no signal to the CSS resource when a View is being detached and hence the CSS is never being unloaded (currently that's by design). Therefore removing a <require from="file.css">
from a HTML template has no effect, but making said css
file empty, does.
How is this going, figured out a clever solution ? Great work on this module btw 👍
Thanks! To answer your question: not yet. We're thinking about adding some features to Aurelia to make HMR overall better and easier, but it's not the top priority right now.
Ok, Keep up the good work 👍