[BUG] workspaces infinite loop when running child scripts #5722
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
With workspaces, if you try to run all child scripts of
name
via a root script of the samename
that uses thedotenv
CLI, it will go into an infinite loop.For example, in root:
And assuming
a
andb
both define their ownbuild
scripts... If you runnpm run build
, you'll get an infinite loop:Expected Behavior
No infinite loop, and the
a
andb
workspacebuild
script is run.Steps To Reproduce
See above.
Environment
8.19.2
18.11.0
The text was updated successfully, but these errors were encountered: