Releases: open-cli-tools/concurrently
Releases · open-cli-tools/concurrently
v4.0.1
- Make success condition respect exiting order (as per docs), instead of command spec order
v4.0.0
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 than0
. - 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[]
. SIGINT
s/Ctrl+C will now be handled gracefully. (#150)
No more exiting with code1
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
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
- 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
Bumps spawn-default-shell to 1.1.0: https://github.com/kimmobrunfeldt/spawn-default-shell/releases/tag/1.1.0