-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed as not planned
Labels
enhancement: pending triagep2-to-be-discussedEnhancement under consideration (priority)Enhancement under consideration (priority)
Description
Clear and concise description of the problem
My current setup involves using the vite build --watch command so that I am able to serve my Vite frontend from a custom webserver. It would be great if hot module reloading could be used in this configuration.
This feature is supported by Snowpack via the command snowpack build --watch. --hmr.
Suggested solution
The HMR server could still be served on a port controlled by Vite and the HMR code could still be included in the outputted files. This way the HMR would work even though the frontend files were served with another webserver.
I am new to Vite's codebase but with some pointers about where to start would be happy to attempt a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancement: pending triagep2-to-be-discussedEnhancement under consideration (priority)Enhancement under consideration (priority)
Type
Projects
Status
P2 - 2