Closed bozdoz closed 5 months ago
Duplicate of #433
I think it's more of a bug.
Sorry, I was a bit hasty marking this as a duplicate of #433.
Signals such as SIGINT received by the main process work separately from --kill-others-on-fail
.
So would this be a feature request? A bug? User error?
It's a bug. Just tagged it as such
Up.
"dev": "concurrently -c blue,green -n tsw,next \"bun tsw\" \"next dev\""
I already tried all the combinations of the --kill options but they won't work. I have to press Ctrl+C twice to kill all.
Description:
I want to run a series of tasks, that are cancellable.
Expected Behaviour:
If I press CTRL-C, I want the entire script (each of the series of tasks) to be aborted (or not started).
Actual Behaviour:
I need to press CTRL-C multiple times to cancel each process.
Reproduction:
Note the
-m 1
flag to run one process consecutively.Is this a bug, or is there a way to do this that is not obvious?