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

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