Add rake dev task for Tailscale-served auto-restarting server
Assisted-by: Claude Opus 4.6 via pi
change rxvmwuyouysltkvuutrpoxurvolwqukv
commit d6aa1ab701989c153da40d0d34b449128e1d1ac6
author Alpha Chen <alpha@kejadlen.dev>
date
parent xltqlslo
diff --git a/Rakefile b/Rakefile
index 494ec76..224ab61 100644
--- a/Rakefile
+++ b/Rakefile
@@ -12,4 +12,10 @@ end
 
 task binstubs: ".direnv/.bundled"
 
+desc "Start dev server with auto-restart, served via Tailscale"
+task :dev do
+  sh "tailscale serve --bg 9292"
+  sh "fd | entr -r rackup"
+end
+
 task default: %i[ test binstubs ]