0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/turbo.json
Damien Schneider dda0406d8d
fix(factory): watch shared React components during development (#27657)
Factory's `dev:ui` and `factory:dev` commands build `@mastra/react`
initially but omit its watcher. Add `client-sdks/react` to the existing
Turbo filters and use the same build-before-watch ordering already
configured for Playground UI.

Validated both entrypoints with Turbo's dry run, including initial-build
ordering. Ran the actual React SDK watch command through Studio and
Factory's Vite configurations in Chromium: three consecutive component
edits per app rendered with the counter retained at 2 and no
edit-triggered page reloads. Targeted type-aware lint, types, formatting
and diff checks passed. API/Docker services were not started.

The redundant script-selection test is removed. Shared UI chunk
identities and Factory's Vite alignment are handled separately in draft
PR #27654; this change can be reviewed and merged independently.

Fixes #27656.
2026-10-20 10:41:48 +02:00

55 lines
1.2 KiB