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

Pass arguments #129

Closed
garrett-thompson opened this issue Jan 5, 2018 · 1 comment
Closed

Pass arguments #129

garrett-thompson opened this issue Jan 5, 2018 · 1 comment

Comments

@garrett-thompson
Copy link

Is there a way to pass arguments to one of my concurrent scripts?

Ex:
I have npm script of: "serve": "concurrently \"npm run local\" \"http-server -p 8080\""

I want to pass an argument to the second script, like this:
npm run serve -- ./build
but that results in this:
concurrently "npm run local" "http-server -p 8080" "build"
which causes an error...

@gustavohenke
Copy link
Member

Duplicate of #33

@gustavohenke gustavohenke marked this as a duplicate of #33 Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants