summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-25 21:09:36 +0200
committerPaul Buetow <paul@buetow.org>2026-01-25 21:09:36 +0200
commit4fcc1ad69c402cdc9cb6b9a59218ee6f99bceff1 (patch)
tree1f8f7750d82001700361974dc72135c9f332b8d2
parentd1941a802743a6314107968b2573cc0d742c35ae (diff)
Fix Justfile: use port 9090 and kill existing server first
- Changed port from 9000 to 9090 - Kill any existing serve.js before starting new one - Use - prefix to ignore pkill errors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
-rw-r--r--Justfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Justfile b/Justfile
index 33a04dc..bfdc4f5 100644
--- a/Justfile
+++ b/Justfile
@@ -9,10 +9,12 @@ build:
# Start webserver and open in Firefox
open:
- node serve.js 9000 &
+ -pkill -f "serve.js" 2>/dev/null
sleep 1
- firefox http://localhost:9000
+ node serve.js 9090 &
+ sleep 1
+ firefox http://localhost:9090
# Stop the webserver
stop:
- pkill -f "node serve.js" || true
+ -pkill -f "serve.js" 2>/dev/null