#!/usr/bin/env bash command -v watchexec >/dev/null 2>&1 || { echo >&2 "[watchexec] is required, but not installed. Aborting."; exit 1; } watchexec -c -e rs,toml "cargo build && cargo test"