chore: add gateway:watch

This commit is contained in:
Peter Steinberger
2025-12-25 18:44:23 +00:00
parent 42eb7640f9
commit c9c7354009
3 changed files with 6 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ pnpm clawdis gateway --port 18789
pnpm clawdis gateway --port 18789 --verbose
# if the port is busy, terminate listeners then start:
pnpm clawdis gateway --force
# dev loop (auto-reload on TS changes):
pnpm gateway:watch
```
- Binds WebSocket control plane to `127.0.0.1:<port>` (default 18789).
- Starts a Canvas file server by default on `canvasHost.port` (default `18793`), serving `http://<gateway-host>:18793/__clawdis__/canvas/` from `~/clawd/canvas`. Disable with `canvasHost.enabled=false` or `CLAWDIS_SKIP_CANVAS_HOST=1`.