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:
@@ -4,6 +4,15 @@ What agents have done, newest first. Add an entry for every piece of work: the d
|
||||
note or request it was for, what changed, the files touched, the tests run, and anything left
|
||||
open or not verified. Keep each entry short; the git history has the details.
|
||||
|
||||
## 2026-10-24: t9 Script to run the local server for testing (Claude Code, Codex)
|
||||
|
||||
- New `tools/serve.py`: builds, serves `dist/` on 127.0.0.1 (port 8000, or the next free one up
|
||||
to 8010), sends `Cache-Control: no-store`, and rebuilds when `src/` or `build.py` changes; a
|
||||
failed build is printed and the old page keeps being served.
|
||||
- `README.md`, `AGENTS.md`, `build.py` docstring, `docs/PROJECT_MAP.md`: point at it.
|
||||
- Checked by hand: page served with no-store; touching a source file rebuilt it; with the owner's
|
||||
old server on 8000 it moved to 8001; Ctrl+C stops it. Headless suites and map check pass.
|
||||
|
||||
## 2026-10-24: t11 Welcome and first milestone shown again on an older world (Claude Code, Codex)
|
||||
|
||||
- Cause: nothing cleared the discovery cards (`#cards`) when a world was entered, so a new
|
||||
|
||||
Reference in New Issue
Block a user