about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-18 19:09:58 +0200
committerAlan Pearce2024-04-18 19:09:58 +0200
commit18b5b95ae7a07c64b2f567ae32c1ecd3a807ad6f (patch)
treef42a7f393f8485347a02999876bea409247ccd3f
parent88e5a55c838a28c36573ad523e4bcf3ff51355f8 (diff)
downloadwebsite-18b5b95ae7a07c64b2f567ae32c1ecd3a807ad6f.tar.lz
website-18b5b95ae7a07c64b2f567ae32c1ecd3a807ad6f.tar.zst
website-18b5b95ae7a07c64b2f567ae32c1ecd3a807ad6f.zip
improve watch-builder command
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
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'