The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Why does the CLI override the process title?
In the npm CLI,
process.title is overridden to be
This has the potential advantage of cleaning up the output of
pgrep, but it has the downside of hiding the arguments that the CLI was invoked with.
I discovered this because I use a
tmux plugin called “resurrect” that is able to save and restore
tmux sessions. It is able to automatically restart running programs for you, but specifically mentions not being able to restart
npm because its arguments are not available in the output of
Why does the CLI override
process.title? Would the CLI team be open to removing the override?