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 259ad89ded
commit 1a3a848bad
7 changed files with 117 additions and 8 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ them. In short:
```sh
python3 build.py # build dist/index.html from src/ (takes a second)
python3 -m http.server -d dist # play at http://localhost:8000 (or open dist/index.html)
python3 tools/serve.py # build, serve at http://localhost:8000, rebuild on src/ changes
python3 test/run_all.py # all headless test suites, in parallel (about a minute)
python3 test/run_all.py pipes # only suites whose name contains "pipes"
python3 test/run_all.py --browser # also the browser tests (rebuilds first; about 3 more minutes)