aboutsummaryrefslogtreecommitdiff
path: root/bin/dev-server
blob: e3a6c287042e053eb7e895f038df88e285e10359 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash
set -euo pipefail

watchexec \
  --watch src \
  --restart \
  "(killall flashcards || true) && tput reset && cargo build && bin/run.sh"