Skip to content

Upgrading concurrently 3 to 4

Breaking3.6.1 → 4.1.2Breaking4New2Fixed5Other1

BreakingUpgrade verdict

4 breaking changes.

  • The old switch for allowing restarts is gone. Use the restart-tries setting with a number above zero to get the same behavior.
  • Pressing Ctrl+C now shuts things down cleanly instead of reporting a failure exit code.
  • Commands no longer receive your typed input by default. Add the handle-input flag if you want to send input to the running commands.
  • Choosing no prefix now really means no prefix. Before, output lines still started with empty brackets.
Top 3 of 4 that need code or config changes

Node.js requirement changed in 4.0.0: >=4.0.0 → >=6.0.0.

Adds rxjs ^6.5.2, yargs ^12.0.5.

Drops commander, rx.

Installs 90 packages in all (was 40).

Breaking4
Removes the CLI option --allow-restarts; set --restart-tries to a value greater than 0 instead.
--allow-restarts--restart-tries
Handles SIGINT and Ctrl+C gracefully, no longer exiting with code 1 or requiring --success tweaks.
SIGINT--success
Makes input handling opt-in via the new --handle-input flag.
--handle-input
Setting prefix to none now truly omits prefixes instead of prefixing output with "[] ".
prefixnone