pm2 completely takes down my dev box (Vagrant) because running git status there is slow. I don't want my process manager to run git status, I just want it to launch my process that's it. I tried the --no-vizion flag & also putting vision: false in the JSON, both have no effect on v2.9.1 of pm2.
To replicate, insert an error into a JS file. Each time pm2 attempts to restart the process, it also calls git status -s and calls npm a bunch of times (visible in output of ps aux). Furthermore, replace git with a process that just sleeps to observe them stacking up. This will simulate Vagrant, which has a slow filesystem due to Virtual Box. In a fast environment, it will complete quickly & exit.
This seems to be a recurring issue, any way to get a permanent long term fix?
#924
#1074
#1735
#2867
#3105
pm2 completely takes down my dev box (Vagrant) because running
git statusthere is slow. I don't want my process manager to rungit status, I just want it to launch my process that's it. I tried the --no-vizion flag & also puttingvision: falsein the JSON, both have no effect on v2.9.1 of pm2.To replicate, insert an error into a JS file. Each time pm2 attempts to restart the process, it also calls
git status -sand callsnpma bunch of times (visible in output ofps aux). Furthermore, replace git with a process that just sleeps to observe them stacking up. This will simulate Vagrant, which has a slow filesystem due to Virtual Box. In a fast environment, it will complete quickly & exit.This seems to be a recurring issue, any way to get a permanent long term fix?
#924
#1074
#1735
#2867
#3105