Unitech / Unitech/pm2

feature request: way to turn off process list synchronization warning

Open
#5,164 0 comments 1 reaction 0 assignees View on GitHub

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 list and observe the warning
  • review the docs and look for a way to turn off that warning
  • review lib/API/UX/pm2-ls.js to see if there's a secret undocumented feature to disable checkIfProcessAreDumped() 😉

Supporting information

$ pm2 report

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.