all repos — website @ 18b5b95ae7a07c64b2f567ae32c1ecd3a807ad6f

My website

improve watch-builder command
Alan Pearce alan@alanpearce.eu
Thu, 18 Apr 2024 19:09:58 +0200
commit

18b5b95ae7a07c64b2f567ae32c1ecd3a807ad6f

parent

88e5a55c838a28c36573ad523e4bcf3ff51355f8

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M flake.nixflake.nix
@@ -33,7 +33,7 @@ gomod2nix.packages.${system}.default                 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'