You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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...
The text was updated successfully, but these errors were encountered: