-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[annoyance] SPA development webserver starts twice when vite takes longer to start #770
Comments
This could be vitejs or the dotnet core spa app, difficult to tell. It doesn't happen all the time, so suspect it is related to a slower than normal launch after a fresh build or branch switch |
A change to this line would allow the window to open in the background/minimised |
Suspected cause:
Note 1: Suggested changes:
|
See changes here: dotnet/aspnetcore#55375 |
Suggestion rejected by aspnet core developers. Remaining options are to:
|
Not sure if this is caused by the SPA app within dotnet or npm start. It is also possible, with a slow start, that the browser - Chrome - refreshes the page causing the backend to relaunch the server.
Either way the npm or spa dotnet app should prevent a double launch of the dev server
If possible, it would be useful for the spa app to launch
npm start
in a background windowcourage_scores/CourageScores/CourageScores.csproj
Lines 11 to 12 in 0713d27
Nuget Package: Microsoft.AspNetCore.SpaProxy
The text was updated successfully, but these errors were encountered: