Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`vp run`: Terminal UI for parallel/persistent tasks with per-task log panes (like Turborepo's TUI)

Đang mở
#3,098 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, typescript
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Start by examining the mentioned WIP vite_tui crate in vite-task and how vp run currently launches parallel tasks and streams their output. The issue describes desired task selection, per-task logs, interaction, configuration, and non-TTY fallback, but does not define implementation boundaries; agree on scope with maintainers before starting. Done means the agreed TUI behavior works for parallel persistent tasks and falls back to streamed output when stdout is not a TTY or in CI.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

pending triage
Description

When I run vp run dev at the root of a Vite+ monorepo with several apps, every app's dev server writes to the same terminal at once. With more than two or three apps it's hard to find the logs for the one I care about (e.g. a single Next.js app's errors get buried under another app's HMR output).

--log labeled helps tell lines apart, but with several long-running dev servers it's still a single mixed stream.

I'm coming from Turborepo, where turbo dev opens a terminal UI that lists each task in a sidebar and shows the selected task's logs in its own pane. That made running many apps at once much easier to work with.

Suggested solution

An interactive terminal UI for vp run when several tasks run in parallel, especially persistent ones like dev:

  • A task list sidebar showing each task and its status (running / done / failed)
  • A log pane for the selected task, with scrollback
  • Keybindings to switch tasks (↑/↓ or j/k), scroll logs, toggle the sidebar, and copy selected output
  • An "interact" mode that forwards stdin to the selected task (for tools with interactive prompts or watch-mode shortcuts)
  • Opt-in or opt-out via a flag (e.g. --ui=tui|stream) and a config field (e.g. run.ui in vite.config.ts)
  • Automatic fallback to the current streamed output when stdout isn't a TTY or in CI

Reference: https://turborepo.dev/docs/crafting-your-repository/developing-applications#using-the-terminal-ui

Alternative
  • vp run --log labeled / --log grouped: better than nothing, but still one shared stream
  • Running each app in its own terminal tab, which loses the single-command workflow
Additional context
  • A maintainer suggested opening this issue after I asked about it on Discord
  • A TUI was also asked about in Discussion #1216
  • vite-task seems to have a WIP vite_tui crate, so this may already be on the radar
  • Related: #1167 (consolidated output), #2909 (label colors), #2914 (--log in config)
Validations
  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.
Ngôn ngữ chính
Rust
Star
6.3k
Fork
283
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
208

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voidzero-dev/vite-plus

Tất cả issue của voidzero-dev/vite-plus

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.