concurrently on npm

4.1.0 (18 Nov 2018 23:11)

Run commands concurrently


GitHub Releases

v4.1.0 18 Nov 2018 23:11
  • Add yarn support (#171 -- big thanks to @igrayson!)
  • bin: fix concurrently --version
  • docs: clarify API's successCondition option (#176)
v4.0.1 26 Aug 2018 15:08
  • Make success condition respect exiting order (as per docs), instead of command spec order
v4.0.0 24 Aug 2018 20:08

More than anything, v4 is just a big refactor to allow changes to be made faster and more reliably.
It does feature some small breaking changes, and maybe even fixes some longstanding bugs.

Breaking changes

  • The CLI option --allow-restarts is no more. Instead, just set --restart-tries to something greater than 0.
  • Input handling is now opt-in via --handle-input flag. (#147)
    It does come with some specific input parsing that would make it difficult for you to use it with some tools.
  • Setting prefix to none will now actually not prefix commands' outputs.
    Previously, it would prefix with [].
  • SIGINTs/Ctrl+C will now be handled gracefully. (#150) No more exiting with code 1 or tweaking --success flag.

No more null exit codes (#133)

That's a pretty bad bug that existed till now. You won't see a log like this anymore:

[1] npm run lint-watch exited with code null

What you will see going forward is the actual exit signal:

[1] npm run lint-watch exited with code SIGTERM

For Windows users, this will invariably still be exit code 1.

concurrently finally gets a shiny ✨ programmatic API!

Closes #101, #112. Maybe even #103.

const concurrently = require('concurrently');
await concurrently([
	'npm:watch-*',
	{ name: 'server', command: 'nodemon' }
], {
  prefix: 'name',
  killOthers: ['failure'],
  restartTries: 3
});

Check the docs here for some info on how to use it.

3.6.1 24 Jul 2018 13:07
  • Fix inability to change the prefix to a template like {time}-{pid} (#152)
3.6.0 19 Jun 2018 12:06
  • Expand npm: prefix to npm run (#126)
  • Support wildcard expansion for npm:something-*/npm:*-like commands (#140)
  • Handle stdin (#121, #128)
  • Upgrade own chalk version (#146)

BIG thanks to @pgraham for contributing with the most important changes of this version!

3.5.1 21 Nov 2017 01:11
  • Fix stdout when lines are cleared (#2, #70, #85)
3.5.0 22 Jun 2017 01:06
  • Add flags for restarting processes: --allow-restart, --restart-after, --restart-tries (#48, #100)
  • Default --prefix to name when --names is set (#97)
3.4.0 02 Mar 2017 03:03
  • Don't try to kill other processes while they are already being killed (#92, #91)
  • Add new --kill-others-on-fail flag (#93, #64, #55)
  • Remove kill delay
    This feature would cause more problems than it would help as per comments on #92. Could perhaps be added back in the future.
3.3.0 12 Feb 2017 17:02

Switch spawn-default-shell with spawn-command due to lots of problems in v3.2.0.

3.2.0 08 Feb 2017 23:02
  • Add support for colors in subprocesses when they use chalk (#49, #86, #87)
  • Fix killing processes in Windows gitbash (#74, #67)
  • Upgrade spawn-default-shell dependency to v2.0.0. This means that shells in Linux and Mac will spawn with the --login flag, allowing you to make use of /etc/profile, ~/.profile, and etc (#81)
  • The timestamps are now handled by date-fns instead of Moment.js. They share the same date format patterns. (#77)

Also, this version drops support for Node 0.12. We're only supporting Node 4+.

3.1.0 Fix execution flag detection 02 Oct 2016 10:10

Bumps spawn-default-shell to 1.1.0: https://github.com/kimmobrunfeldt/spawn-default-shell/releases/tag/1.1.0

3.0.0 3.0.0 26 Sep 2016 10:09

This release includes huge amount of improvements. Major updates:

  • Fix issues with Windows and Appveyor CI was added to ensure Windows compability
  • Improve shell support. spawn-default-shell is used to spawn shell commands. It uses the best available shell on your platform. You can also customize the used shell with SHELL and SHELL_EXECUTION_FLAG environment variables. Minor caveat: it means that e.g. piping works on your linux machine but may not work as expected on Windows. This leaves more responsibility to the users of concurrently.
  • Handle SIGTERM and SIGINT signals correctly

Closes these PRs: #58 #57 #56 #53 #47 #45 #43 #42 #40 #21. Closes these issues: #52 #50 #41 #31 #28 #7 #3.

2.2.0 Fix --kill-others 05 Jul 2016 09:07

https://github.com/kimmobrunfeldt/concurrently/pull/39

2.1.0 More prefix styling 14 May 2016 10:05

Thanks to @OlsonDev for the new features: https://github.com/kimmobrunfeldt/concurrently/pull/29

2.0.0 CLI name change and --prefix change 16 Feb 2016 22:02

This shouldn't break anyone's concurrent commands but concurrent is now deprecated. Migration from 1.x -> 2.x is simply to rename concurrent -> concurrently.

Changes:

  • Make --prefix customizable with template #16
  • Add new time prefix #19
  • Fix output colors in --raw mode #8
1.0.0 --success option and escaping 15 Nov 2015 12:11

Added these features:

  • #12 thanks, @paulerickson
  • #10 thanks, @msikma
0.1.1 Bug fixes 27 May 2015 13:05
  • Fix a few small output formatting bugs.
  • Add tests
0.1.0 Fix windows support 27 May 2015 13:05

No breaking changes

0.0.5 Remove debug logging 08 Feb 2015 12:02
  • Remove forgotten console.log
0.0.4 Prettify output + refactor 08 Feb 2015 12:02
  • Add new prefix: index
  • Use index as prefix by default
  • Make process prefix dimmed gray to prevent distracting
  • Add --raw option
  • Add --prefix-length option
  • Improve --help
  • Refactor code organization
  • Change prefix command to show also stuff at end of the command too
0.0.3 Initial release 07 Feb 2015 23:02

Version History

Version Date
4.1.0 18 Nov 2018 23:11
4.0.1 26 Aug 2018 15:08
4.0.0 24 Aug 2018 20:08
3.6.1 24 Jul 2018 13:07
3.6.0 19 Jun 2018 12:06
3.5.1 21 Nov 2017 01:11
3.5.0 22 Jun 2017 01:06
3.4.0 02 Mar 2017 03:03
3.3.0 12 Feb 2017 17:02
3.2.0 08 Feb 2017 23:02
3.1.0 02 Oct 2016 10:10
3.0.0 26 Sep 2016 09:09
3.0.0-rc1 19 Sep 2016 22:09
3.0.0-dev 18 Sep 2016 22:09
2.2.0 05 Jul 2016 09:07
2.1.0 14 May 2016 10:05
2.0.0 16 Feb 2016 22:02
1.0.0 15 Nov 2015 12:11
0.1.1 27 May 2015 13:05
0.1.0 25 May 2015 20:05
0.0.5 08 Feb 2015 12:02
0.0.4 08 Feb 2015 12:02
0.0.3 07 Feb 2015 23:02
0.0.2 07 Feb 2015 23:02