修复前端代码不自动更新的bug

This commit is contained in:
Wenjie Zhang 2024-11-23 11:13:36 +08:00
parent 2cc601f0ee
commit 8e347a34ee

View File

@ -20,6 +20,7 @@ export default defineConfig(({ mode }) => {
}
},
watch: {
usePolling: true,
ignored: ['**/node_modules/**', '**/dist/**'],
},
host: '0.0.0.0',