watchexec/crates/cli/integration/stdin-quit.sh

8 lines
136 B
Bash
Raw Normal View History

#!/bin/bash
set -euxo pipefail
watchexec=${WATCHEXEC_BIN:-watchexec}
timeout -s9 30s sh -c "sleep 10 | $watchexec --stdin-quit echo"