Priority: P3 · Package: core
npm run sandbox spawns cdk watch with an explicit --hotswap flag. Since cdk watch already implies hotswap, the extra flag is redundant and can emit a benign "unknown/duplicate option"-style warning on some aws-cdk CLI versions. Cosmetic (stderr is surfaced as [CDK Watch] ...), not a failure.
Verified present on main (e98bab4, 2026-06-19).
packages/core/src/scripts/sandbox.ts#L142-L143
const cdkWatch = spawnCommand("npx", [
"cdk", "watch", "--hotswap", // ← redundant; cdk watch already hotswaps
...
]);
Confidence
Low — the exact warning text is aws-cdk CLI-version-dependent and was not reproduced.
Fix
A ~2-minute local run against the pinned aws-cdk version; if --hotswap warns, drop the redundant flag from the cdk watch invocation in sandbox.ts.
Priority: P3 · Package:
corenpm run sandboxspawnscdk watchwith an explicit--hotswapflag. Sincecdk watchalready implies hotswap, the extra flag is redundant and can emit a benign "unknown/duplicate option"-style warning on someaws-cdkCLI versions. Cosmetic (stderr is surfaced as[CDK Watch] ...), not a failure.packages/core/src/scripts/sandbox.ts#L142-L143Confidence
Low — the exact warning text is
aws-cdkCLI-version-dependent and was not reproduced.Fix
A ~2-minute local run against the pinned
aws-cdkversion; if--hotswapwarns, drop the redundant flag from thecdk watchinvocation insandbox.ts.