tesla-charge-controller/watch.sh
2024-01-09 11:33:11 +11:00

8 lines
210 B
Bash
Executable file

#!/usr/bin/env bash
(
trap 'kill 0' SIGINT
cargo watch -w "src" -x check -s 'touch .trigger' &
RUST_LOG=error,warn,info cargo watch --no-vcs-ignores -w .trigger -x "run -- --config-dir test-config watch"
)