casey / casey/just

Exit parallel recipe if any dependencies exit

Open
#2,963 3 comments 2 reactions 1 assignee Assigned to @Copilot View on GitHub
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.