I'm have some code that runs a few tests then calls process.exit(). Without process.exit the code never terminates in node on the command line which breaks my automated tests. However if I'm using devtool this means the windows closes before I can see the test results and I don't get to check what state it was in just before exiting. Right now I'm just inserting a debugger statement just before process.exit so it's not a big deal but a command line flag to prevent process.exit closing the window would be lovely.
I'm have some code that runs a few tests then calls process.exit(). Without process.exit the code never terminates in node on the command line which breaks my automated tests. However if I'm using devtool this means the windows closes before I can see the test results and I don't get to check what state it was in just before exiting. Right now I'm just inserting a debugger statement just before process.exit so it's not a big deal but a command line flag to prevent process.exit closing the window would be lovely.