Add interactive console shortcuts to `wxt dev`, similar to Vite
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 564
- PR merge metrics
- No merged PRs in 30d
Description
When running wxt dev, there should be more interactive console commands available—similar to what Vite provides (see screenshot below).
Right now, only o + enter is available to open the browser, but Vite offers many useful shortcuts like:
r + enterto restartu + enterto show server URLc + enterto clear consoleq + enterto quit
I migrated from vite-plugin-web-extension, which naturally includes Vite's interactive dev server UX. These shortcuts are very helpful during development and should be considered essential for a good DX.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the wxt dev command and its existing handling for o + enter, then compare the requested behavior with Vite's interactive dev server UX. Trace how console input is processed and add coverage for restart, URL display, console clearing, and quitting; done means all listed shortcuts work consistently during development.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100