If I'm on Cluster Mode with --watch
, when a file is updated, will pm2 automatically restart the app, or reload (0 downtime) the app?
It will restart the app
No 0 downtime reload
From the doc :
Note : Watching system does not provide any graceful action, pm2 kills and restarts your application without sending SIGINT