We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running concurrently from a monorepo workspace, all commands exit 0.
concurrently
From the root, things are fine:
package.json:
... "explicitfail": "concurrently npm:explicitfail:*", "explicitfail:fail": "exit 1", ...
Command:
npm run explicitfail && echo shouldnt show
Output:
> explicitfail > concurrently npm:explicitfail:* [fail] [fail] > explicitfail:fail [fail] > exit 1 [fail] [fail] npm run explicitfail:fail exited with code 1
However, when I cd into packages/subpackage and have the same setup, it succeeds:
cd
packages/subpackage
packages/subpackage/package.json: (same thing)
packages/subpackage/package.json
> @monorepo/[email protected] explicitfail > concurrently npm:explicitfail:* [fail] [fail] > @monorepo/[email protected] explicitfail:fail [fail] > exit 1 [fail] [fail] npm ERR! Lifecycle script `explicitfail:fail` failed with error: [fail] npm ERR! Error: command failed npm ERR! in workspace: @monorepo/[email protected] npm ERR! at location: /path/to/repo/monorepo/packages/subpackage [fail] npm run explicitfail:fail exited with code 0 shouldnt show
The text was updated successfully, but these errors were encountered:
Interesting. Are you able to share a self-contained example repository?
Sorry, something went wrong.
I believe this was related to a turbo issue, so I think we're good here
turbo
No branches or pull requests
When running
concurrently
from a monorepo workspace, all commands exit 0.From the root, things are fine:
package.json:
Command:
Output:
However, when I
cd
intopackages/subpackage
and have the same setup, it succeeds:packages/subpackage/package.json
: (same thing)Command:
Output:
The text was updated successfully, but these errors were encountered: