Hot reloading with SPA proxy
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
I am trying to get hot reloading working with the SPA proxy using the React.js project template in Visual Studio 2022 for Mac. If you run the project with **dotnet watch** and then make changes to the backend API code, then the project is recompiled but the SPA proxy is killed so the front end stops working.
You can run the project normally within Visual Studio and then the front end hot reloads when you make changes to the React code, but you have to manually restart the application when you make changes to the backend code.
There doesn't seem to be a way to have hot reloading working for both front and and back end code.
### Describe the solution you'd like
It would be great if the SPA proxy is not killed after the hot reload or maybe just restarted so that the front end is still operational without having to manually restart it.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.