You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
After upgrading to Vite 5 in a Wails project, the WebSocket connection for Hot Module Replacement (HMR) fails.
Describe the solution you'd like
Update the 'react-ts' template provided by Wails to include the necessary Vite configuration for WebSocket connections. Or, modify Wails internal WebSocket server configuration to be compatible with any Vite version.
Describe alternatives you've considered
manually configuring the HMR settings in the Vite configuration file.
Is your feature request related to a problem? Please describe.
After upgrading to Vite 5 in a Wails project, the WebSocket connection for Hot Module Replacement (HMR) fails.
Describe the solution you'd like
Update the 'react-ts' template provided by Wails to include the necessary Vite configuration for WebSocket connections. Or, modify Wails internal WebSocket server configuration to be compatible with any Vite version.
Describe alternatives you've considered
manually configuring the HMR settings in the Vite configuration file.
vite.config.ts
in 'frontend' directory should be:It works well in:
Additional context
No response
The text was updated successfully, but these errors were encountered: