diff --git a/front/vite.config.ts b/front/vite.config.ts index 404e2dfb0..a6a138540 100644 --- a/front/vite.config.ts +++ b/front/vite.config.ts @@ -58,13 +58,13 @@ export default defineConfig(({ mode }) => ({ vueDevTools(), ], server: { - host: '0.0.0.0', - port: 8080, + port: +(process.env.VUE_PORT ?? 8080), hmr: { - host: 'localhost', - port: 24678, - protocol: 'ws' + clientPort: +(process.env.VUE_PORT ?? 8080) }, + watch: { + usePolling: true, + } }, resolve: { alias: [