Skip to content

yoshuawuyts/hot-app-replacement

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hot-app-replacement npm version Build Status

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...

image

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 :)

To Install

$ npm install -g hot-app-replacement

Usage

CLI

API

TODO:

  • 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

See Also

License

MIT

About

Like hot module replacement but... yeah you'll see

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.6%
  • HTML 5.4%