I'm aware that pm2 has the --watch command, but this restarts the server and kills existing connections. I need to deploy my changes without affecting users.
PM2 doesn't support true hot code swapping, which lets you update code without any disruption. Instead, PM2's --watch command restarts your app when changes are detected, which can interrupt users.
Would hot code swapping ever work with pm2?
I'm aware that pm2 has the
--watch
command, but this restarts the server and kills existing connections. I need to deploy my changes without affecting users.