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

Run template commands #148

Closed
xilaraux opened this issue Jul 3, 2018 · 3 comments · Fixed by #212
Closed

Run template commands #148

xilaraux opened this issue Jul 3, 2018 · 3 comments · Fixed by #212

Comments

@xilaraux
Copy link

xilaraux commented Jul 3, 2018

Hello.

I think there are some mistakes in the DOCS, because this stuff has never worked for me.

concurrently "npm:watch-*"

# Equivalent to:
concurrently -n js,css,node "npm run watch-js" "npm run watch-css" "npm run watch-node"

# Any name provided for the wildcard command will be used as a prefix to the wildcard
# part of the script name:
concurrently -n w: npm:watch-*

# Equivalent to:
concurrently -n w:js,w:css,w:node "npm run watch-js" "npm run watch-css" "npm run watch-node"

Thx.

@gustavohenke
Copy link
Member

Can clarify yourself?
What is not working for you? Do you get any errors? What is the output?

Please provide as much details as you can.

@mastilver
Copy link

mastilver commented Sep 22, 2018

I think I'm having the same problem with names

It use to be that the wildcard was the name suffix:
https://github.com/kimmobrunfeldt/concurrently/pull/140/files#diff-7da21ee57c9bb94e0425929d61b38d5eR128
https://github.com/kimmobrunfeldt/concurrently/pull/140/files#diff-7da21ee57c9bb94e0425929d61b38d5eR154

whereas right now the name is the full command name


So on the latest version
concurrently "npm:watch-*"
is equivalent to
concurrently -n watch-js,watch-css,watch-node "npm run watch-js" "npm run watch-css" "npm run watch-node"

and
concurrently -n w: npm:watch-*
is equivalent to
concurrently -n watch-js,watch-css,watch-node "npm run watch-js" "npm run watch-css" "npm run watch-node"

notice they are both the same as it's not looking at the name anymore

I will try to have a look at the code and submit a PR

@mikeharder
Copy link

I'm hitting the same issue, and I prefer the behavior in #165 to the current behavior.

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