Subpackages source code changes (Plugins, Marketplace, Core, etc.) not reflecting globally during development #265
|
When we change code in sub-packages, the UI doesn't update automatically — we have to manually run |
Replies: 1 comment
|
There's no single root-level watch command right now — no turbo.json in the repo, and the root # Terminal 1
cd packages/core && pnpm dev # tsdown --watch
# Terminal 2
cd demos/simple && pnpm dev # astro dev, picks up the watched output via workspace:*Each package defines its own |
There's no single root-level watch command right now — no turbo.json in the repo, and the root
package.jsonhas nodev/watchscript. The documented flow (see CONTRIBUTING.md) is one terminal per package you're actively editing:Each package defines its own
"dev": "tsdown --watch"(or similar). Once each watcher is running, changes do propagate to the site automatically — it's just per-package rather than a single repo-wide command, so editing core + a plugin at once means a terminal for each.