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