Assuming a node.js app running with PM2-process-manager and a PM2-"watch_delay" of 60000ms:
When files of the node.js-app are updated and also packages are updated via npm i it is not influencing the running PM2-processes, until the "watch_delay" is triggered and PM2 restarts the processes, correct?
In other words: No matter what happens to the files that the node.js-app via PM2 is using, the PM2-process will continue to run, right?
PS.: I tried it out the brute way and just renamed the folder "node-modules" to "node-modules2" while PM2-processes were running, which did not influence the PM2 processes, but I am not understanding what happens in the background of PM2 to achieve it.
PPS.: The background of this question is that the combination of a bigger change either by git pull or npm i together with PM2-"watch_delay" could be risky, if PM2 would not work with the files before npm i or git pull.