mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Devex: Improve dev server (#6002)
## Summary Keep Vite from watching extra files, should cut down on the amount of times it tries to reload and hopefully fix a file contention issue with git. https://vite.dev/config/server-options.html#server-watch ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6002-Devex-Improve-dev-server-2876d73d365081a09417c2bf17da659f) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -30,10 +30,19 @@ export default defineConfig({
|
|||||||
host: VITE_REMOTE_DEV ? '0.0.0.0' : undefined,
|
host: VITE_REMOTE_DEV ? '0.0.0.0' : undefined,
|
||||||
watch: {
|
watch: {
|
||||||
ignored: [
|
ignored: [
|
||||||
'**/coverage/**',
|
'./browser_tests/**',
|
||||||
'**/playwright-report/**',
|
'./node_modules/**',
|
||||||
|
'./tests-ui/**',
|
||||||
|
'.eslintcache',
|
||||||
|
'*.config.{ts,mts}',
|
||||||
|
'**/.git/**',
|
||||||
|
'**/.github/**',
|
||||||
|
'**/.nx/**',
|
||||||
'**/*.{test,spec}.ts',
|
'**/*.{test,spec}.ts',
|
||||||
'*.config.{ts,mts}'
|
'**/coverage/**',
|
||||||
|
'**/dist/**',
|
||||||
|
'**/playwright-report/**',
|
||||||
|
'**/test-results/**'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
|
|||||||
Reference in New Issue
Block a user