wxt-dev / wxt-dev/wxt

Add interactive console shortcuts to `wxt dev`, similar to Vite

Open
#1,734 5 comments 1 reaction 0 assignees View on GitHub

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 + enter to restart
  • u + enter to show server URL
  • c + enter to clear console
  • q + enter to 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.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.