From 9ef7710a9dcd20059b0c50ad523166eab80058df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kratochv=C3=ADl?= <xkrato10@muni.cz> Date: Fri, 10 Jun 2022 01:30:07 +0200 Subject: [PATCH] feat: added frontend vite hot-reload --- frontend/vite.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index b1b5f91..0b85ee5 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -3,5 +3,10 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ - plugins: [react()] + plugins: [react()], + server: { + watch: { + usePolling: true + } + } }) -- GitLab