Skip to content

Releases: open-cli-tools/concurrently

v4.0.1

26 Aug 15:34
Compare
Choose a tag to compare
  • Make success condition respect exiting order (as per docs), instead of command spec order

v4.0.0

24 Aug 20:16
Compare
Choose a tag to compare

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 13:28
Compare
Choose a tag to compare
  • Fix inability to change the prefix to a template like {time}-{pid} (#152)

3.6.0

19 Jun 12:38
Compare
Choose a tag to compare
  • 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 01:06
Compare
Choose a tag to compare
  • Fix stdout when lines are cleared (#2, #70, #85)

3.5.0

22 Jun 01:55
Compare
Choose a tag to compare
  • 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 03:34
Compare
Choose a tag to compare
  • 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 17:38
Compare
Choose a tag to compare

Switch spawn-default-shell with spawn-command due to lots of problems in v3.2.0 (#61, #89)

3.2.0

08 Feb 23:49
Compare
Choose a tag to compare
  • 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+.

Fix execution flag detection

02 Oct 10:14
Compare
Choose a tag to compare