Skip to content

yarcub/pushtorun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

"Push To Run" is a proof-of-concept for hot code reload.

In this example "dolly.js" is loaded at application startup with an empty genoma object.

After each commit the "genoma.js" is reloaded and change the behaviour of client code.

Flow

  • Browser loads application (http://pushtorun.herokuapp.com/ - look at browser console)
  • When a change is made in repository and pushed to remote:
    ** Post commit hook hits server (can also be simulate this at http://pushtorun.herokuapp.com/hook/)
    ** Server notifies clients (via socket.io) of changes
    ** Browser reloads genoma.js and replaces dolly.js module genoma definition

About

proof-of-concept for hot code reload.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors