watchexec/crates/cli/integration/no-shell.sh

8 lines
123 B
Bash
Raw Normal View History

#!/bin/bash
set -euxo pipefail
watchexec=${WATCHEXEC_BIN:-watchexec}
$watchexec -1 -n echo 'foo bar' | grep 'foo bar'