gofr-dev / gofr

An opinionated Go framework for accelerated microservice development
https://gofr.dev
Apache License 2.0
1.3k stars 133 forks source link

Live/Hot Reloading when the environment is development #759

Open KedarisettiSreeVamsi opened 1 week ago

KedarisettiSreeVamsi commented 1 week ago

Is your feature request related to a problem? Please describe. Often times when we develop any application we like the possibility of having the application to go into debug mode and also reload if any changes takes place immediately.

Describe the solution you'd like Hot reloading/ Live reloading helps in easing the development process. Some of the repos which enable hot reloading are https://github.com/air-verse/air https://github.com/gravityblast/fresh, etc.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

One such example where hot reloading is enabled is https://github.com/anthdm/superkit.

iamgoroot commented 3 days ago

This seems to be an external tooling. I don't see how it can be implemented inside of a library Just run your code with respective commands in your terminal/IDE instead of go run .