aboutsummaryrefslogtreecommitdiff
path: root/watch
blob: 5b17a42bf962eecc90a4cfb11855670ffa35cbb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

case $1 in
  actix)
    cargo watch -x "run --bin actix"
    ;;
  hyper)
    cargo watch -x "run --bin hyper"
    ;;
  *)
    cargo watch -x "test"
    ;;
esac