Skip to content

feat: vite task devtools - #644

Draft
webfansplz wants to merge 2 commits into
mainfrom
feat/vite-task-devtools
Draft

webfansplz wants to merge 2 commits into
mainfrom
feat/vite-task-devtools

Conversation

@webfansplz

Copy link
Copy Markdown
Member

Adds a Vite DevTools panel for Vite+ tasks.

  • Browse workspace tasks in a searchable list or explore their dependencies in an interactive graph.
  • Preview a task’s execution plan to see which commands would run and which steps would hit the cache.
  • Trace a cache miss to the input files that changed.

Task dependency graph

Task execution plan with cache hits

Changed input file behind a cache miss

Copilot AI balanced review requested due to automatic review settings November 20, 2026 01:15

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 was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@webfansplz
webfansplz marked this pull request as draft November 20, 2026 01:15
@pkg-pr-new

pkg-pr-new Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools@644

@vitejs/devtools-kit

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-kit@644

@vitejs/devtools-oxc

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-oxc@644

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-rolldown@644

@vitejs/devtools-vite

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-vite@644

@vitejs/devtools-vite-task

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-vite-task@644

@vitejs/devtools-vitest

npm i https://pkg.pr.new/vitejs/devtools/@vitejs/devtools-vitest@644

commit: f2a5815

@fengmk2 fengmk2 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!!! cc @wan9chi

@liangmiQwQ

Copy link
Copy Markdown
Contributor

Amazing work ⭐️

I'd purpose some other features:

  • Task Running: It now only includes the flow and the command of a task, it will be a great idea if we could run a task outside of the terminal.
  • Classify Tasks by Package: Currently tests are shown in a list or in a graph, it's better to have a tree structure that users could focus on one package's development for a complicated project.

Also, I'm not sure if this classifying method is the best way, dividing them by task name sounds a little bit confusing because there could be thousands of scripts name in a project.

image

@webfansplz

webfansplz commented Nov 23, 2026 •

Copy link
Copy Markdown
Member Author

@liangmiQwQ Thanks for the suggestions! The List view now groups tasks by package, so you can expand the package you’re working on and see its tasks together.

List view with one package expanded to show its tasks

The task-name filter is now a searchable dropdown shared by List and Graph. Here’s how to show just the build task across packages.

Task-name dropdown with build selected across packages

Running tasks directly from DevTools is on our roadmap. We’ll track that work in a separate PR.

@liangmiQwQ liangmiQwQ 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.

That looks really awesome to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants