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

combine -s, -p -r #88

Closed
serapath opened this issue Feb 22, 2017 · 1 comment
Closed

combine -s, -p -r #88

serapath opened this issue Feb 22, 2017 · 1 comment

Comments

@serapath
Copy link

i tried to specify a task like this: npm-run-all --serial a --parallel --race b c d

my intention is to first let a setup task called a run and then run three processes that do not end.

  • b is starting a server
  • c is starting a watcher
  • d is testing some stuff

one d finishes, i'd like c and b to end which i think the --race flag is used for, but it seems to not work when a --serial flag is present.

I was wondering if maybe a new version can be released that adds support for https://www.npmjs.com/package/subarg which might make it easier to group stuff.

@mysticatea
Copy link
Owner

mysticatea commented Feb 22, 2017

Thank you for this report.

It's a bug, I will fix it.

I was wondering if maybe a new version can be released that adds support for https://www.npmjs.com/package/subarg which might make it easier to group stuff.

Personally, I'm unfamiliar with the brackets in CLI parameters. I prefer below or something like for now.

$ run-s a b && run-p --race c d

Of course, I'm not oppose to support for the brackets if it does not cause a breaking change, but I would not work for it actively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants