diff --git a/vite.config.ts b/vite.config.ts index 9ca06fe..fc4360b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -74,7 +74,7 @@ export default defineConfig(async ({ mode }) => { UnoCSS(), transformClass(), ViteRestart({ - restart: ['vite.config.ts'], + restart: ['vite.config.ts', 'src/pages.json'], }), isH5 && isProd && visualizer({