improve watch-builder command
Alan Pearce alan@alanpearce.eu
Thu, 18 Apr 2024 19:09:58 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M flake.nix → flake.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'