tjanczuk/iisnode — Issue #58: restart node.exe if dependent files are updated
Author: kirillg
Created: 2011-10-11 07:47:26+00:00
State: open

Currently, IISNode restarts node.exe if the associated .js file is updated. Pretty common my app consists of the main app.js and some module foo.js that app.js depends on (require('foo.js').

As I debug issues in foo.js, I often update it without updating app.js. I have to remember to restart IISNode. Could we either
a) provide an explicit descriptor of dependencies
or, better yet,
b) track the .js files we load at runtime and re-load node.exe if any of the loaded .js filed got updated.
?