tesla-charge-controller/watch.sh

8 lines
210 B
Bash
Raw Normal View History

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