Skip to content

pantoken / plugins/vite/workspace-orchestrator/src / OrchestratorOptions

Interface: OrchestratorOptions

Experimental

Options for workspaceOrchestrator.

Properties

upstream

upstream: readonly UpstreamNode[]

Experimental

The upstream workspace dependency graph.


outputWatchPaths?

optional outputWatchPaths?: readonly string[]

Experimental

Paths to watch with native fs.watch so Vite picks up built output after an upstream rebuild (e.g. a package's dist or generated directory). Uses native fs.watch rather than chokidar's add(), which doesn't reliably detect changes in pnpm-symlinked or out-of-root directories. On each change a synthetic "change" event is emitted on server.watcher: for CSS files already in the module graph Vite triggers a targeted hot-update; for anything else it falls back to a full page reload.


debounceMs?

optional debounceMs?: number

Experimental

Debounce delay in milliseconds before triggering a rebuild (default: 200).


fileServers?

optional fileServers?: readonly FileServerEntry[]

Experimental

Optional static file-serving middleware entries.