pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

bug: Warning about dump file not being synchronized is broken on macos

Open richardsimko opened this issue 6 months ago • 1 comments

On a fresh install of pm2 and macos I did the following:

  1. Configure pm2 for startup
  2. Dumpfile is empty
  3. pm2 start --name test "yes"
  4. Script with name test starts
  5. 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

  1. pm2 save
  2. pm2 delete test
  3. 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.

richardsimko avatar Aug 27 '25 17:08 richardsimko

@Unitech Any chance this could be fixed? I would presume it's a relatively easy fix for someone familiar with the code base :)

richardsimko avatar Nov 11 '25 03:11 richardsimko