-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Infinite loop with npm.run() #181
Comments
Thank you for your report. But that's not a bug in The cause is that you set |
Hi @mysticatea
Do you have more suggestions about how I can handle the problem? |
I think that you should open an issue at https://github.com/npm/npm-lifecycle. |
Hi
I found a bug while launching an
npn-run-all
-based script withnpm.run()
. You can watch the bug opening this example on CodeSandbox or play with the repo that I shared.The issue is: if I have a
"run:examples:s": "npm-run-all -s example:**"
script in my package.json file and if I leverage the native
npm.run("run:examples:s")
API to run a script (instead of the standard$ npm run run:examples:s
)npm-run-all goes to an infinite loop.
I hope it's clear, let me know if you need me to explain it better.
Anyway: thank you so much for the amazing library 😊
Thank you
Stefano
The text was updated successfully, but these errors were encountered: