pm2
pm2 copied to clipboard
bug: Warning about dump file not being synchronized is broken on macos
On a fresh install of pm2 and macos I did the following:
- Configure pm2 for startup
- Dumpfile is empty
-
pm2 start --name test "yes" - Script with name test starts
-
pm2 status
At this point I was expecting this warning to be logged: https://github.com/Unitech/pm2/blob/3b3b54727dab5acf6b43778314cd26b84ffa94d3/lib/API/UX/pm2-ls.js#L30
-
pm2 save -
pm2 delete test -
pm2 status
At this point I would be expecting this warning: https://github.com/Unitech/pm2/blob/3b3b54727dab5acf6b43778314cd26b84ffa94d3/lib/API/UX/pm2-ls.js#L27
In neither case the warning shows up.
This has regressed since 5.4.3 and has been broken since 6.0.5.
@Unitech Any chance this could be fixed? I would presume it's a relatively easy fix for someone familiar with the code base :)