Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

concurrently vs npm-run-all #180

Closed
dcorb opened this issue Dec 31, 2018 · 4 comments
Closed

concurrently vs npm-run-all #180

dcorb opened this issue Dec 31, 2018 · 4 comments

Comments

@dcorb
Copy link

dcorb commented Dec 31, 2018

There was a movement to consolidate all similar projects under one umbrella, npm-run-all, some years ago:
mysticatea/npm-run-all#10
where Kimmo participated

I think I'm not the only one who wonders, what's the difference between these two solutions?
Since popularity, is at the moment the same for both projects:
https://www.npmtrends.com/concurrently-vs-npm-run-all-vs-parallelshell

@mrozbarry
Copy link

I think the big difference is concurrently runs anything where npm-run-all is specific to package.json scripts, and does extra things because of special knowledge of package.json and node.

I think it makes sense that concurrently remains it's own package, in spite of my preference to have a "one tool that does one job." I think these goals are difference enough.

@jcollum-nike
Copy link

I had to ditch concurrently today because it was giving an 1 exit code for 3 processes that exited with SIGTERM or 0. Did not have that problem with npm-run-all.

@gustavohenke
Copy link
Member

Hello! I'm sorry that I took so long in answering this ticket.

Interesting to see that there was work to consolidate tools -- thanks for raising that, @dcorb!


concurrently runs anything where npm-run-all is specific to package.json scripts, and does extra things because of special knowledge of package.json and node.

Yep, I think that sums it up. I haven't looked at npm-run-all in a while though, maybe it has improved since.

We have since added special support for npm (and then yarn) because these are so popular, and since concurrently is written in JS, it most likely implies that you will be using those tools too.

Does that answer you, @dcorb?


I had to ditch concurrently today because it was giving an 1 exit code for 3 processes that exited with SIGTERM or 0. Did not have that problem with npm-run-all.

@jcollum-nike would you be willing to improve concurrently by providing your feedback on an issue that I could help triage?

@gustavohenke
Copy link
Member

Ah, nvm @jcollum-nike. I see you have opened #187. 🙂

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants