aboutsummaryrefslogtreecommitdiff
path: root/bin/watch
blob: 84363fb3e42916be58e013aa4bd406570a789b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
set -euo pipefail
cd $(dirname "$0")/..

CMD=${1:-check}

RUST_LOG=budget=info cargo-watch \
  --ignore README.md \
  --ignore bin \
  --ignore sql \
  --ignore database.db \
  --ignore database.db-shm \
  --ignore database.db-wal \
  --clear \
  -x "$CMD"