From b8c8e05023609a9a3e79eecb11757b0dc0de69be Mon Sep 17 00:00:00 2001 From: Logan Jones Date: Tue, 8 Apr 2025 14:50:46 -0500 Subject: [PATCH] fixed dev server websocket --- frontend/vite.config.mts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/vite.config.mts b/frontend/vite.config.mts index 5844ca7..c2af426 100644 --- a/frontend/vite.config.mts +++ b/frontend/vite.config.mts @@ -3,4 +3,10 @@ import tsConfigPaths from "vite-tsconfig-paths"; export default defineConfig({ plugins: [tsConfigPaths()], + server: { + hmr: { + host: 'localhost', + protocol: 'ws', + }, + }, });