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
I have a web service that I keep active with PM2 working on a Windows computer. Every time PM2 restarts this service due to a file update, multiple nodejs windows open when I include watchr in a single file. This does not happen using nodemon or the npm start command. I have already tested this problem by commenting on the lines where I call watchr and saving the file for PM2 to do its job, and no window opens.
I have a web service that I keep active with PM2 working on a Windows computer. Every time PM2 restarts this service due to a file update, multiple nodejs windows open when I include watchr in a single file. This does not happen using nodemon or the npm start command. I have already tested this problem by commenting on the lines where I call watchr and saving the file for PM2 to do its job, and no window opens.
This is a portion of my code:
The text was updated successfully, but these errors were encountered: