devtools icon indicating copy to clipboard operation
devtools copied to clipboard

hmr update page for vite devtools

Open arashsheyda opened this issue 8 months ago • 2 comments

Clear and concise description of the problem

When working with Vite, HMR updates happen frequently, but there’s currently no centralized way to observe or track them over time.

Suggested solution

Introduce a dedicated DevTools page that records and visualizes HMR updates in real time.

This view could include:

  • A timeline or log of HMR events
  • The files/modules that triggered each update
  • Frequency of updates (to detect noisy modules)
  • Optional visual highlighting of affected areas in the UI (#231)
Image

Alternative

No response

Additional context

No response

Validations

  • [x] Follow our Code of Conduct
  • [x] Read the Contributing Guide.
  • [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

arashsheyda avatar Mar 19 '26 07:03 arashsheyda

This would be great! Would you like to introduce it in the @vitejs/devtools-vite? Looking forward to it!

antfu avatar May 22 '26 22:05 antfu

@antfu sure, thanks

arashsheyda avatar May 26 '26 23:05 arashsheyda