pm2
pm2 copied to clipboard
Change package version in process list table
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | - |
| License | MIT |
By default PM2 look first available package.json and it's always nvm packet in script path
/home/develop/.nvm/versions/node/v18.13.0/bin/npm If we start script like that:
{
"script": "npm",
"args": "run start"
}
in list process table we always see nvm version, now it 0.39.3
I think it's incorrect, because we need to see started package version
P.S. this answer was the source