Open Unitech opened 5 years ago
这里的app.js值的是自己项目的入口文件,nuxt的应该是.nuxt/App.js吧?
module.exports里面的内容是写在ecosystem.config.js里面吗?
When a file is modified in the current directory or its subdirectories, why pm2 PM2 automatically restart the application, but not reload?
Greatest tool ever thank you
I'm using PM2 3.5.0 on a Linux Vagrant machine. When I stop my services the watching stops. Using "--watch" flag makes no diference, if I do pm2 stop [id], the service stops and watching stops. I can only toggle watch with restart, which means I can only toggle while the service is running. Is there anyway to toggle watch with the service stopped?
Basically I would like to start all may services from a app list, so they are added to pm2, stop them so they don't slowdown the machine, but keep watching so when I start the one I'm working manually trough pm2-gui it still has watching enabled, is that possible
https://pm2.io/doc/en/runtime/features/watch-restart/
PM2 - Guide, References, Tutorials and Best Practices about PM2 and Node.js.