Closed serapath closed 8 years ago
That looks like it's trying to be a more portable version of Amokify. Here's a similar discussion about comparing Browserify-HMR and Amokify. The HMR way is simple if your modules have an easily defined life cycle that you define yourself or use a domain-specific add-on to do so (e.g. react-transform-hmr). I think HMR makes a good base for such tools. HMR operates on modules. Updates merely consist of specific modules being re-executed wholesale. The Amokify and Thermite ways seem to be more about trying to automatically make arbitrary code be hot-patchable by updating individual functions.
https://github.com/omphalos/thermite/issues/1#issuecomment-143411319