From 18b5b95ae7a07c64b2f567ae32c1ecd3a807ad6f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 18 Apr 2024 19:09:58 +0200 Subject: improve watch-builder command --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e5a2ebb..c0a6c80 100644 --- a/flake.nix +++ b/flake.nix @@ -33,7 +33,7 @@ gci flyctl (writeShellScriptBin "watch-builder" '' - watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -w templates -w cmd/build -r go run ./cmd/build' + watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -i server.go -i public -r go run ./cmd/build' '') (writeShellScriptBin "watch-server" '' watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -r go run ./server.go' -- cgit 1.4.1