only restart issue and logout issue debugging added

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-15 07:14:06 +00:00
parent 9ec87ed932
commit 68942410ae
8 changed files with 317 additions and 2 deletions

View File

@@ -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