feature request: way to turn off process list synchronization warning
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
I'm not using pm2 to manage a server, but simply to manage processes during app development on my laptop. As such I don't need the persistent application features. In this case, the following warning isn't particularly helpful:
Current process list is not synchronized with saved list. Type 'pm2 save' to synchronize.
How could we reproduce this issue?
- on a fresh machine,
pm2 start 'sleep 60000' - run
pm2 listand observe the warning - review the docs and look for a way to turn off that warning
- review
lib/API/UX/pm2-ls.jsto see if there's a secret undocumented feature to disablecheckIfProcessAreDumped()😉
Supporting information
$ pm2 report
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the warning with pm2 start 'sleep 60000' followed by pm2 list, then inspect lib/API/UX/pm2-ls.js and the checkIfProcessAreDumped() call mentioned in the issue. Review the documentation for existing configuration options; done means users have a documented way to disable this warning without affecting process management.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100