tesla-charge-controller/watch.sh

7 lines
184 B
Bash
Raw Normal View History

2024-01-08 09:17:17 +11:00
#!/usr/bin/env bash
(
trap 'kill 0' SIGINT
2024-01-08 12:00:09 +11:00
cargo watch -w "src" -x check -s 'touch .trigger' &
2024-01-08 09:17:17 +11:00
cargo watch --no-vcs-ignores -w .trigger -x "run -- --config-dir test-config watch"
)