Skip to content

-r flag does not appear to support starting multiple long-running dev servers from the workspace root #1228

@winstonpurnomo

Description

@winstonpurnomo

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/web
  • apps/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

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions