Transfer state from old app to new app on save
Had this lying around. Inspired to module-ify it by @yoshuawuyts's tweet. Code cleanup incoming...
No API or CLI yet. But you can:
node lib/hot-server.js && open http://localhost:9999
# Changes to demo folder will now hot reload in your browser :)
$ npm install -g hot-app-replacement
- Add an API and CLI. Right now it's just a (working) example
- Add tests / refactor. Ripped this out of an old project
- Commenting, rationale, etc
MIT