From 3e9ec38ec57ae896ebc9431063fcc0a3990000e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20K=C3=A1n=C4=9B?= Date: Sun, 25 Apr 2021 20:27:55 +0200 Subject: [PATCH] Update the dev script to reload on static files as they are embedded into the binary --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 866a3c3..d9031ed 100644 --- a/flake.nix +++ b/flake.nix @@ -30,7 +30,7 @@ unset GOROOT # Use the one bundled into the binary. I don't currently know who sets this to the wrong one - '${pkgs.findutils}/bin/find' cmd pkg ui/html | '${pkgs.entr}/bin/entr' -dr '${pkgs.go}/bin/go' run ./cmd/web + '${pkgs.findutils}/bin/find' cmd pkg ui | '${pkgs.entr}/bin/entr' -dr '${pkgs.go}/bin/go' run ./cmd/web ''; packages.x86_64-linux.devDb = pkgs.writeShellScriptBin "devDb" '' '${pkgs.postgresql}/bin/postgres' -D .pg-data -k "$PWD/.pg-sockets" -c log_statement=all #-c listen_addresses="" # Goland does not support connecting over socket