Is there a way to configure the Node.js console window (node.exe) to run a script on startup?
I'd like to do some minor initialization automatically each time, such as setting variables and colors.
It's not sufficient to just run node.exe myinitscript.js
. That will run the script and then exit.
I'd like to run the script, and then remain in in the console environment.