You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i start the Vite server, it constantly restarts and stays in a loop where it "detects" a file change and restarts again.
I even got it once on a completely new project, and it blocks me from writing any code at the moment.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Hello @TNAJanssen. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.
Describe the bug
When i start the Vite server, it constantly restarts and stays in a loop where it "detects" a file change and restarts again.
I even got it once on a completely new project, and it blocks me from writing any code at the moment.
I almost looks the same as #13764 and storybookjs/storybook#22253
Afeter ignoring all files that can restart the server it seems okay to work, but it doesn't give a satisfying feeling.
Reproduction
n/a
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
2:18:27 PM [vite] server restarted.
2:18:27 PM [vite] apps/backoffice/vite.config.ts changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.defaults changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.dev changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.production changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.staging changed, restarting server...
2:18:27 PM [vite] server restarted.
2:18:27 PM [vite] apps/backoffice/vite.config.ts changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.defaults changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.dev changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.production changed, restarting server...
2:18:27 PM [vite] apps/backoffice/.env.staging changed, restarting server...
2:18:28 PM [vite] server restarted.
2:18:28 PM [vite] apps/backoffice/vite.config.ts changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.defaults changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.dev changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.production changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.staging changed, restarting server...
2:18:28 PM [vite] server restarted.
2:18:28 PM [vite] apps/backoffice/vite.config.ts changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.defaults changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.dev changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.production changed, restarting server...
2:18:28 PM [vite] apps/backoffice/.env.staging changed, restarting server...
Validations
The text was updated successfully, but these errors were encountered: