hotreload broken for renderer after adding WS dependency.
SamHoque opened this issue · 1 comments
SamHoque commented
client.ts:78 WebSocket connection to 'ws://localhost:5173/' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET
setupWebSocket @ client.ts:78
client.ts:78 Uncaught (in promise) DOMException: Failed to construct 'WebSocket': The URL 'ws://127.0.0.1:undefined/' is invalid.
at setupWebSocket (http://localhost:5173/@vite/client:465:20)
at fallback (http://localhost:5173/@vite/client:444:22)
at WebSocket. (http://localhost:5173/@vite/client:480:13)
caoxiemeihao commented
Can you provide a minimal production repo?