require-updated

node.js require with watcher to simplify local modules development

npm install require-updated
1 downloads in the last day
9 downloads in the last week
25 downloads in the last month

require-updated

node.js require with watcher to simplify local modules development

build status

Simplified Reload

polpetta is just one of those cases where modified files could be reloaded automatically in order to have easy updates of the .njs logic but any module development could be simplified testing, even in console, same stuff over and over without passing manually through the require cache.

// npm install -g require-updated
var requireUpdated = require('require-updated');

// any time the file should be reloaded once modified
requireUpdated(moduleName).onCall();

Tests Included

As usual, and those are good to understand how requireUpdated works, here tests

License

The usual Mit Style

npm loves you