docs: clarify source control-ui dev/build flow (#68814)

This commit is contained in:
Rubén Cuevas
2026-04-19 02:48:32 -04:00
committed by GitHub
parent 39cb6ecbb9
commit 6d427f8c2a
9 changed files with 43 additions and 14 deletions

View File

@@ -91,16 +91,22 @@ If you also want the macOS app on the bleeding edge:
```bash
pnpm install
# First run only (or after resetting local OpenClaw config/workspace)
pnpm openclaw setup
pnpm gateway:watch
```
`gateway:watch` runs the gateway in watch mode and reloads on relevant source,
config, and bundled-plugin metadata changes.
`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.
If you are intentionally using the Bun workflow, the equivalent commands are:
```bash
bun install
# First run only (or after resetting local OpenClaw config/workspace)
bun run openclaw setup
bun run gateway:watch
```