Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): group command exit listeners to avoid warning #22892

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

AgentEnder
Copy link
Member

Current Behavior

When running multiple tasks (8+) (e.g. via run-many), its possible to see an emit listeners warning for process.on('exit'). This is because run-commands impl was registering a new listener for each command it ran.

Expected Behavior

Run-commands impl registers one listener, and cleans up its registered listeners when something fails

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested a review from a team as a code owner April 18, 2024 21:42
Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Apr 18, 2024 9:44pm

@FrozenPandaz FrozenPandaz merged commit e2cee00 into nrwl:master Apr 18, 2024
6 checks passed
FrozenPandaz pushed a commit that referenced this pull request Apr 20, 2024
AgentEnder added a commit to AgentEnder/nx that referenced this pull request Apr 23, 2024
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants