pm2
pm2 copied to clipboard
Fix bug with namespace when logs command run before start
| Q | A |
|---|---|
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #5788 |
| License | MIT |
| Doc PR |
I created the ticket linked above, and this is my attempt at a fix.
This implementation is something my company has been using (via pnpm patch) for a few months now to good effect. Others might benefit from it too.
I tried to do something similar to what I did in my past PR (#5660), since that one seemed rather painless.
I tried to do something similar to what I did in my past PR (#5660), since that one seemed rather painless.
perhaps worth noting: this fix works by deleting code. That's only possible because of the specifics of the change in #5660, i.e. my last pm2 contribution. I opted to split them up, and this second half took me honestly too long to create.