hot-module-reload icon indicating copy to clipboard operation
hot-module-reload copied to clipboard

A previously <require>d CSS does not Hot-unload when removed from a View

Open niieani opened this issue 8 years ago • 3 comments

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.

niieani avatar Dec 01 '16 00:12 niieani

How is this going, figured out a clever solution ? Great work on this module btw 👍

vegarringdal avatar Mar 04 '17 22:03 vegarringdal

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.

niieani avatar Mar 05 '17 19:03 niieani

Ok, Keep up the good work 👍

vegarringdal avatar Mar 05 '17 22:03 vegarringdal