Reputation: 5326
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?
Upvotes: 2
Views: 694
Reputation: 1975
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
http://pm2.keymetrics.io/docs/usage/watch-and-restart/
Upvotes: 3