mirror of
https://github.com/zebrajr/ollama-webui.git
synced 2025-12-05 12:20:26 +01:00
Exclude the 'backend' folder from the Vite watcher.
This avoids unnecessary reloads when working on the backend.
This commit is contained in:
parent
2b9c466bed
commit
41220b379f
|
|
@ -35,7 +35,10 @@ export default defineConfig({
|
|||
APP_BUILD_HASH: JSON.stringify(process.env.APP_BUILD_HASH || 'dev-build')
|
||||
},
|
||||
build: {
|
||||
sourcemap: true
|
||||
sourcemap: true,
|
||||
watch: {
|
||||
exclude: ['backend']
|
||||
}
|
||||
},
|
||||
worker: {
|
||||
format: 'es'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user