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

@@ -226,7 +226,7 @@ describe("gateway run option collisions", () => {
await runGatewayCli(["gateway", "run", "--allow-unconfigured"]);
expect(gatewayLogMessages).toContain(
"Control UI assets are missing; first startup may spend a few seconds building them before the gateway binds. Prebuild with `pnpm ui:build` for a faster first boot.",
"Control UI assets are missing; first startup may spend a few seconds building them before the gateway binds. `pnpm gateway:watch` does not rebuild Control UI assets, so rerun `pnpm ui:build` after UI changes or use `pnpm ui:dev` while developing the Control UI. For a full local dist, run `pnpm build && pnpm ui:build`.",
);
});

View File

@@ -176,7 +176,7 @@ function maybeLogPendingControlUiBuild(cfg: OpenClawConfig): void {
return;
}
gatewayLog.info(
"Control UI assets are missing; first startup may spend a few seconds building them before the gateway binds. Prebuild with `pnpm ui:build` for a faster first boot.",
"Control UI assets are missing; first startup may spend a few seconds building them before the gateway binds. `pnpm gateway:watch` does not rebuild Control UI assets, so rerun `pnpm ui:build` after UI changes or use `pnpm ui:dev` while developing the Control UI. For a full local dist, run `pnpm build && pnpm ui:build`.",
);
}