diff --git a/client/vite.config.ts b/client/vite.config.ts index b4946740..5b5d7d1c 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -27,6 +27,7 @@ export default defineConfig(({ mode }) => { port: 5173, strictPort: true, watch: { + // This fixes HMR but leads to schema changes not being taken into account unless the page is refreshed ignored: ["**/gql/dist/minifiedSchema.json"], }, },