diff options
author | Alan Pearce | 2024-04-24 15:18:10 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-24 15:29:42 +0200 |
commit | 5a2807a4613c36f1b8cb21adbd8ccbb46af7b757 (patch) | |
tree | 94f464c3706994fd1c4b2f79e3db211839b8e846 | |
parent | 7625cb131a85d4f3c45683251702fc0f0ff3f8c2 (diff) | |
download | website-5a2807a4613c36f1b8cb21adbd8ccbb46af7b757.tar.lz website-5a2807a4613c36f1b8cb21adbd8ccbb46af7b757.tar.zst website-5a2807a4613c36f1b8cb21adbd8ccbb46af7b757.zip |
just: fix watch-* commands
-rwxr-xr-x | justfile | 4 |
1 files 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 |