hotload

Hot load (hot require) for NodeJS. It's like JRebel but for NodeJS.

Hot code reload for NodeJS

```javascript

// lib.js
module.exports = {
    "key": "value"
}

// index.js
hotload = require("hotload");

//lib = require("lib");
lib = hotload("./lib.js");

setInterval(function()
{
    // normally it would print 'value' indefinitely,
    // but at runtime try to change value of "key" in lib.js
    // and save lib.js file and see that module will be reloaded
    // and new value will be printed.
    console.log(lib.key);

}, 1000);


```

npm install hotload

Reload library without application shut down. Not suitable for production use.

hotload = require("hotload");