diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-25 21:09:36 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-25 21:09:36 +0200 |
| commit | 4fcc1ad69c402cdc9cb6b9a59218ee6f99bceff1 (patch) | |
| tree | 1f8f7750d82001700361974dc72135c9f332b8d2 | |
| parent | d1941a802743a6314107968b2573cc0d742c35ae (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-- | Justfile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |
