It would be useful if (perhaps optionally?) running node daemon.js start would not exit until the app is truly up and running -- perhaps by listening for an event or callback. I need to wait until this point before running some other processes, and using a delay for this is asking for trouble. Any ideas?
It would be useful if (perhaps optionally?) running
node daemon.js startwould not exit until the app is truly up and running -- perhaps by listening for an event or callback. I need to wait until this point before running some other processes, and using a delay for this is asking for trouble. Any ideas?