fix: enable sync io tracing in gateway watch

This commit is contained in:
Peter Steinberger
2026-05-04 22:44:19 +01:00
parent e84d4b27f4
commit 35e48a049b
3 changed files with 37 additions and 0 deletions

View File

@@ -96,6 +96,10 @@ add Node's sync I/O trace flag through the source runner:
OPENCLAW_TRACE_SYNC_IO=1 pnpm openclaw gateway --force
```
`pnpm gateway:watch` enables this flag by default for the watched Gateway child.
Set `OPENCLAW_TRACE_SYNC_IO=0` to suppress Node sync I/O trace output in watch
mode.
## Gateway watch mode
For fast iteration, run the gateway under the file watcher: