If I set the next line in my server, this file restart when I save other file in the same folder.
How could ignore-restart of pm2 watched file when other file is saved in the same folder?
#pm2 start myServer1.js --watch --ignore-watch=["./", "otherFolder"]
The last code only ignore the files saved in the folder "otherFolder".