Hot reload changes to webapi when using docker-compose
HI,
I have a demo repo here that is 2 containers, front and back ends that uses docker compose & DAPR to run them.
https://github.com/endjin/DaprMultiContainer
I debug the docker-compose to start the containers, and I'm able to hit breakpoints in the webapi, but I was hoping that I would be able to hot reload changes to the backend controller's Get() to, for example change the number of WeatherForecasts returned.
This works when running in visual studio, but doesn't appear to work for me in rider 2023.2.1 as I dont see any prompt to apply changes or buttons to apply changes in the toolbar as usual with hot reloading. I have enabled all 3 options in the hot reload portion of the settings.
Could you shed some light on wether this is expected to work, and if does work for you then outline what steps you took to get it working?
Thanks,
Ewan
Please sign in to leave a comment.
Thank you for contacting Rider Support. I'm Tao from Rider support team.
This feature is not yet implemented. However, we have a corresponding feature request on our bug tracker.
RIDER-65200 Cannot run or debug docker compose without rebuilding all images.
https://youtrack.jetbrains.com/issue/RIDER-65200
We would appreciate it if you upvote the request to demonstrate additional interest for this feature.
If you have any other questions, do not hesitate to ask. Have a great day!
Regards,
You can check our blog How Docker Fast Mode Works in Rider that introduce this feature.
https://blog.jetbrains.com/dotnet/2023/06/07/how-docker-fast-mode-works-in-rider/