just: only restart dev server when .go files change
Alan Pearce alan@alanpearce.eu
Sun, 28 Apr 2024 19:50:01 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M justfile → justfile
@@ -43,7 +43,7 @@ trap "{ echo cleaning up $tmp; rm -rf \"$tmp\"; }" EXIT 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