From 5a2807a4613c36f1b8cb21adbd8ccbb46af7b757 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 24 Apr 2024 15:18:10 +0200 Subject: just: fix watch-* commands --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index ee2e524..f4bd6a6 100755 --- a/justfile +++ b/justfile @@ -24,12 +24,12 @@ update-all: watch-flake command: watchexec --restart -w flake.nix -w flake.lock direnv exec . {{ command }} -watch-builder: (watch-flake "watchexec -i cmd/server -i public -r go run ./cmd/build --base-url http://localhost:3000") +watch-builder: (watch-flake "watchexec -w cmd/build -w content -w templates -r go run ./cmd/build --base-url http://localhost:3000") nix-build what: nix build .#{{ what }} -watch-server: (watch-flake "watchexec -r go run ./cmd/server") +watch-server: (watch-flake "watchexec -r -i content -i templates go run ./cmd/server") docker-stream system=(arch() + "-linux"): @nix build --print-out-paths .#docker-stream-{{ system }} | sh -- cgit 1.4.1