aboutsummaryrefslogtreecommitdiff
path: root/bin/dev-server
blob: 0669d6df940407da2d7a667759ee1030afb80d4d (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:-run}

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"