summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
Diffstat (limited to 'Justfile')
-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