diff options
Diffstat (limited to 'bin/dev-server')
-rwxr-xr-x | bin/dev-server | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/dev-server b/bin/dev-server new file mode 100755 index 0000000..e3a6c28 --- /dev/null +++ b/bin/dev-server @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +watchexec \ + --watch src \ + --restart \ + "(killall flashcards || true) && tput reset && cargo build && bin/run.sh" |