about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-28 19:50:01 +0200
committerAlan Pearce2024-04-28 19:50:01 +0200
commiteeba38e2eb407dd611929ebf66a6e23de3fda74e (patch)
tree37a92cc465aadbef1325319edbea95852c346bb5
parent44a3b3bbd1b8b7c11eed7cce9a07aa4c07cdb90e (diff)
downloadwebsite-eeba38e2eb407dd611929ebf66a6e23de3fda74e.tar.lz
website-eeba38e2eb407dd611929ebf66a6e23de3fda74e.tar.zst
website-eeba38e2eb407dd611929ebf66a6e23de3fda74e.zip
just: only restart dev server when .go files change
-rwxr-xr-xjustfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/justfile b/justfile
index 74ee08f..9dc57b8 100755
--- a/justfile
+++ b/justfile
@@ -43,7 +43,7 @@ dev:
     go build -o $tmp ./cmd/dev ./cmd/build ./cmd/server
     "${tmp}/dev" --temp-dir "${tmp}"
 
-watch-dev: (watch-flake "watchexec -r just dev")
+watch-dev: (watch-flake "watchexec -r -e go just dev")
 
 docker-stream system=(arch() + "-linux"):
     @nix build --print-out-paths .#docker-stream-{{ system }} | sh