chore: add just serve with fd+entr auto-reload
change qolxqyonvqsowukxsyqwtyurtoyzssvs
commit 0f6d61fb10de301c469f5d54f66bf27b2a477691
author Alpha Chen <alpha@kejadlen.dev>
date
parent znxwwopt
diff --git a/justfile b/justfile
index 96c7800..73069ec 100644
--- a/justfile
+++ b/justfile
@@ -54,3 +54,7 @@ all: fmt clippy coverage
 # Install ranger from source
 install:
     cargo install --locked --path .
+
+# Start dev server with auto-reload on changes
+serve:
+    fd -e rs -e css -e toml | entr -r cargo run -- serve --backlog {{env("RANGER_DEFAULT_BACKLOG", "ranger")}}