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

7 lines
175 B
Bash
Executable file

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