dazinator / NetPack

.Net Core library, for runtime processing of static files such as typescript, js, css etc.
13 stars 2 forks source link

RequireJS HMR #36

Closed dazinator closed 5 years ago

dazinator commented 5 years ago

Similar to #26 but for RequireJS

dazinator commented 5 years ago

See https://github.com/requirejs/requirejs/issues/1760

dazinator commented 5 years ago

Needs some work on the dependency graph side, lots of PR's in progress. Moving this out of milestone.

dazinator commented 5 years ago

I'm adding requirejs HMR back to milestone 0.4.0 however it wont support reloading dependents of the changed modules, unlike systemjs which does. I can add support for this in a future milestone if necessary, once #37 is done.

dazinator commented 5 years ago

RequireJS Hmr scripts don't currently play nicely with requirejs! Gonna leave this for now, will come back to in the future.