Skip to content

configure toolkit for watch - #9

Open
SharonStrats wants to merge 1 commit into
mainfrom
fix/watch
Open

SharonStrats wants to merge 1 commit into
mainfrom
fix/watch

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

The shared toolkit watch behavior was updated so that watch mode now:

  • keeps only the ESM output
  • skips the d.ts generation plugin during watch

That reduces each rebuild to a single cleaner wave of file writes, which stops the watcher churn.

Note: @NoelDeMartin The rdflib dependency is a much lower version than our current one, not sure if I should change that too?

Also, more testing i ended up having to change mashilb webpack to point to solid-panes esm... i'm going to test some more before merge but would still like to get your feedback.

@SharonStrats
SharonStrats requested a balanced review from Copilot October 3, 2026 10:10
@SharonStrats SharonStrats self-assigned this Oct 3, 2026
@SharonStrats SharonStrats added the enhancement New feature or request label Oct 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Watch-mode plugin and output filtering mishandle valid Vite configuration shapes.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adds watch-mode support while reducing unnecessary watch outputs.

Changes:

  • Adds a watch package script.
  • Disables declaration generation during watch mode.
  • Limits watch builds to ES output.
File Description
package.json Adds the watch command.
src/​vite/​plugins/​solid-pane.ts Omits DTS generation while watching.
src/​vite/​config/​build.ts Filters watch-mode build outputs.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vite/config/build.ts Outdated
Comment thread src/vite/plugins/solid-pane.ts Outdated
@SharonStrats SharonStrats linked an issue Oct 3, 2026 that may be closed by this pull request
@SharonStrats SharonStrats added bug Something isn't working and removed enhancement New feature or request labels Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Watch is looping in pane repos

2 participants