mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:40:43 +00:00
fix: auto-repair gateway watch startup
This commit is contained in:
@@ -152,6 +152,10 @@ The tmux wrapper carries common non-secret runtime selectors such as
|
||||
`OPENCLAW_GATEWAY_PORT`, and `OPENCLAW_SKIP_CHANNELS` into the pane. Put
|
||||
provider credentials in your normal profile/config, or use raw foreground mode
|
||||
for one-off ephemeral secrets.
|
||||
If the watched Gateway exits during startup, the watcher runs
|
||||
`openclaw doctor --fix --non-interactive` once and restarts the Gateway child.
|
||||
Use `OPENCLAW_GATEWAY_WATCH_AUTO_DOCTOR=0` when you want the original startup
|
||||
failure without the dev-only repair pass.
|
||||
The managed tmux pane also defaults to colored Gateway logs for readability;
|
||||
set `FORCE_COLOR=0` when starting `pnpm gateway:watch` to disable ANSI output.
|
||||
|
||||
|
||||
@@ -103,7 +103,10 @@ session and auto-attaches from interactive terminals. Non-interactive shells sta
|
||||
detached and print `tmux attach -t openclaw-gateway-watch-main`; use
|
||||
`OPENCLAW_GATEWAY_WATCH_ATTACH=0 pnpm gateway:watch` to keep an interactive run
|
||||
detached, or `pnpm gateway:watch:raw` for foreground watch mode. The watcher
|
||||
reloads on relevant source, config, and bundled-plugin metadata changes.
|
||||
reloads on relevant source, config, and bundled-plugin metadata changes. If the
|
||||
watched Gateway exits during startup, `gateway:watch` runs
|
||||
`openclaw doctor --fix --non-interactive` once and retries; set
|
||||
`OPENCLAW_GATEWAY_WATCH_AUTO_DOCTOR=0` to disable that dev-only repair pass.
|
||||
`pnpm openclaw setup` is the one-time local config/workspace initialization step for a fresh checkout.
|
||||
`pnpm gateway:watch` does not rebuild `dist/control-ui`, so rerun `pnpm ui:build` after `ui/` changes or use `pnpm ui:dev` while developing the Control UI.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user