about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xdev.sh2
-rw-r--r--flake.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/dev.sh b/dev.sh
index 682bf3d..6a580f4 100755
--- a/dev.sh
+++ b/dev.sh
@@ -6,4 +6,4 @@ export AUTHORIZATION_ENDPOINT=https://indieauth.com/auth
 export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz
 #export COOKIE_SECRET_FILE=/dev/null
 
-exec cargo run --bin kittybox
+exec systemfd --no-pid -s http::8080 -- cargo watch -x run
diff --git a/flake.nix b/flake.nix
index c1827cd..2e1966b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -262,8 +262,9 @@
       name = "rust-dev-shell";
       nativeBuildInputs = with pkgs; [
         pkg-config lld
-        # required for httpmock, not actually used
+        # required for httpmock, not actually used in the release
         openssl.dev
+        httpie systemfd cargo-watch
         (rust-bin.default.override { extensions = [ "rust-src" ]; })
         (rust-analyzer.override { rustPlatform = with rust-bin; { rustLibSrc = rust-src; }; })
       ];