Closed arjendeblok closed 7 years ago
Nice! You think you can try that one? http://fuse-box.org/#loader-plugins
Please check the example here: https://github.com/fuse-box/fuse-box-ts-react-reflux-seed/blob/master/src/client/hmr.ts#L41
We need to be able to control what we are reloading in the framework.
@arjendeblok @nchanged merging this since I managed to do this when trying the plugin part @arjendeblok created... I cant change variables everywhere, but that might be a limit to the
@vegarringdal looks impressive!
yes, @arjendeblok plugin code that hood in the aurelia-hotload-module :-)
will be fun to test more later today.
To be able to make HMR work, the modules must be stored in the moduleRegistry. The aurelia-hot-module-replacement package makes use of that. The module registry was created, but no modules where ever added to it.