-
Notifications
You must be signed in to change notification settings - Fork 151
-r flag does not appear to support starting multiple long-running dev servers from the workspace root #1228
Copy link
Copy link
Open
Labels
Description
Describe the bug
In tools like Turborepo, a root dev script can fan out to multiple workspace dev scripts and keep them running at the same time. For example, in a monorepo with apps/web and apps/www, running bun run dev, npm run dev, or pnpm run dev from the root will commonly start both app dev servers concurrently.
With Vite+, vp run -r dev currently seems to run selected packages in dependency order, but if the first dev task is long-running, later dev tasks never start.
Example
Workspace structure:
apps/webapps/www
Both packages define a dev script:
{
"scripts": {
"dev": "vp dev --port 3000"
}
}
{
"scripts": {
"dev": "vp dev --port 3001"
}
}From the workspace root: vp run -r dev
Reproduction
https://github.com/winstonpurnomo/vp-repro
Steps to reproduce
No response
System Info
❯ vp env current
vp --version
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.14.1
Source engines.node
Source Path /Users/winston/Developer/experiments/2026-03-30-gadget-4/package.json
Project Root /Users/winston/Developer/experiments/2026-03-30-gadget-4
Tool Paths:
node /Users/winston/.vite-plus/js_runtime/node/24.14.1/bin/node
npm /Users/winston/.vite-plus/js_runtime/node/24.14.1/bin/npm
npx /Users/winston/.vite-plus/js_runtime/node/24.14.1/bin/npx
VITE+ - The Unified Toolchain for the Web
vp v0.1.15-alpha.6
Local vite-plus:
vite-plus v0.1.14
Tools:
vite v8.0.2
rolldown v1.0.0-rc.11
vitest v4.1.1
oxfmt v0.42.0
oxlint v1.57.0
oxlint-tsgolint v0.17.3
tsdown v0.21.4
Environment:
Package manager bun v1.3.11
Node.js v24.14.1 (engines.node)Used Package Manager
bun
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackPriority
None yet
Effort
None yet