only restart issue and logout issue debugging added
This commit is contained in:
@@ -190,6 +190,15 @@ export default defineConfig(({ mode, command }) => {
|
||||
allowedHosts: true,
|
||||
watch: {
|
||||
usePolling: true, // Needed for file watching in Docker
|
||||
ignored: [
|
||||
'**/node_modules/**',
|
||||
'**/.git/**', // CRITICAL: Ignore git directory to prevent restart on commits
|
||||
'**/dist/**',
|
||||
'**/build/**',
|
||||
'**/.vscode/**',
|
||||
'**/.idea/**',
|
||||
],
|
||||
interval: 1000, // Poll every 1 second (default is 100ms)
|
||||
},
|
||||
hmr: {
|
||||
// Behind reverse proxy - explicitly set host and port to public domain
|
||||
|
||||
Reference in New Issue
Block a user