tools/serve.py: build, serve and rebuild on change (t9)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 01:07:08 -04:00
co-authored by Claude Opus 5.5
parent f822db8c50
commit 41663761fb
5 changed files with 102 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ machines, until the land claim is paid off and beyond.
```sh
python3 build.py
python3 -m http.server -d dist # then open http://localhost:8000
python3 tools/serve.py # builds, serves at http://localhost:8000 and rebuilds when src/ changes
```
Opening `dist/index.html` directly works too. The game is one self-contained page with no