You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I created a grunt task to watch my files and restart node-theseus in case any of my file is changed. I use no-demon and I launch node-theseus within the exec option of grunt-nodemon (https://github.com/ChrisWren/grunt-nodemon#exec)
The problem is when I want to stop debugging. Somehow after only 2 process.exit caught grunt exits and node-theseus keeps running and the port 888 is still in use. That means that I can't start another debug session with node-theseus.
In node-theseus, you hard code the number of time to receive process.exit before exiting:
if (++exitCount >= 3) {
...
Would it be possible to pass this value (3) as a parameter? It would fix my issue...
The text was updated successfully, but these errors were encountered:
Hi!
I created a grunt task to watch my files and restart node-theseus in case any of my file is changed. I use no-demon and I launch node-theseus within the exec option of grunt-nodemon (https://github.com/ChrisWren/grunt-nodemon#exec)
The problem is when I want to stop debugging. Somehow after only 2 process.exit caught grunt exits and node-theseus keeps running and the port 888 is still in use. That means that I can't start another debug session with node-theseus.
In node-theseus, you hard code the number of time to receive process.exit before exiting:
if (++exitCount >= 3) {
...
Would it be possible to pass this value (3) as a parameter? It would fix my issue...
The text was updated successfully, but these errors were encountered: