restartable

a simple way to restart your app without actually restarting node.js

makes it possible to restart your app without restarting the main node.js process itself.

require("restartable")(function(parRestartableObj){ console.log("this code is restartable"); parRestartableObj.restart(); }, function(parRestartableObj){ console.log("this code is not restartable"); parRestartableObj.restart(); });