just: restart dev on file changes
Assisted-by: Claude Opus 5.5 via Claude Code
change vsorlukvyxmzrqrnuoqmwtrlqqlwumuz
commit 0d72abcf358889bfe4ad1d28466776e7a3cf2e7e
author Alpha Chen <alpha@kejadlen.dev>
date
parent yyotkmnw
diff --git a/justfile b/justfile
index 3615649..cc4f95c 100644
--- a/justfile
+++ b/justfile
@@ -25,9 +25,10 @@ mutants:
 
 all: fmt clippy coverage
 
-# Serve the fixture-backed UI without Tailscale on http://127.0.0.1:3000.
+# Serve the fixture-backed UI without Tailscale on http://127.0.0.1:3000,
+# restarting on changes.
 dev:
-    cargo run -- --dev
+    { fd -t f . src assets; echo Cargo.toml; } | entr -r cargo run -- --dev
 
 install:
     cargo install --locked --path .