-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Parallel taks are forwarded to the end command #26
Comments
Thanks for the report! Hmmm... Very interesting. If you'd like to dig, here's where we exclude p-s flags from the args that are forwarded on to the scripts. |
Thanks, I'll take a look :) |
@kentcdodds When running |
Oh I see...
So I'm now using Closing the ticket, unless you know of a "fix"? |
Ah, yep, that's the solution. Do you think we could/should add something to the docs as a common pitfall? |
Might be useful to add a note for it when using |
Actually, the recommended use is to use
I think you have a typo. |
Oh I see, you mean having a simple script which will run my tasks in parallel. Yep I could do that too. And yes, sorry for the typo. What I mean though was that if I manually run |
Ah, I see what you're saying. Yeah, basically the way that |
ERROR in multi main
Module not found: Error: Cannot resolve module 'build.test,build.staging,build.edge'
p-s
version: 1.0.2node
version: 6.6.1The command executed:
npm start -p build.x,build.y
The output:
Problem description:
My build command run webpack to build a bundle file for my project. But when running
npm start -p build.x,build.y
, it appends the parallel commands to webpack and produce an error:webpack 'build.x,build.y'
I think the parallel taks shouldn't be forwarded to the end command
The text was updated successfully, but these errors were encountered: