just icon indicating copy to clipboard operation
just copied to clipboard

Exit parallel recipe if any dependencies exit

Open jackTabsCode opened this issue 2 months ago • 0 comments

Given the following recipe:

[parallel]
foo: bar baz

bar:
	sleep 5
	echo "I am running but baz already exited!"

baz:
	exit 1

I expect the recipe to immediately fail.

I was planning on using Just's parallel recipes to run our dev script, which runs a compiler in watch mode, and a server (both being never-ending). Sometimes, one or the other will crash, but the other will keep running. I would prefer if the entire recipe failed if that happened.

jackTabsCode avatar Nov 20 '25 07:11 jackTabsCode