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

Concurrently not running with single quotes #521

Open
virtual opened this issue Jul 15, 2019 · 2 comments
Open

Concurrently not running with single quotes #521

virtual opened this issue Jul 15, 2019 · 2 comments

Comments

@virtual
Copy link

virtual commented Jul 15, 2019

I had an issue with running the concurrently commands using single quotes and had to replace them with \" instead. I hope this helps someone else who might be having a similar issue.

eg:
"watch": "concurrently --names \"API,UI\" -c \"bgBlue,bgMagenta\" \"npm run watch:api\" \"npm run watch:ui\"",

Example of error:

['API] 'np' is not recognized as an internal or external command,
['API] operable program or batch file.
[UI'] 'run' is not recognized as an internal or external command,
[UI'] operable program or batch file.
@moemosaad
Copy link

This post was a life saver. Thanks!

@rohitkrishna094
Copy link

Thanks, this helped me as well. For some reason single quotes work only in WSL(ubuntu), but on regular windows, I had to change the command to use escaped-double-quotes like you did.

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

3 participants