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
Hot reload does not detect changes #215
Comments
👍 can confirm this happens to be both in a container and when running directly on my machine, same docker versions and same go versions as @vcraescu running on Manjaro linux |
@jeevatkm This config?
I believe it's the default one. I didn't notice a pattern, just sometimes it stops detecting the changes and I have to stop/start |
Yes this is the config. Thanks. Okay so it stops detecting changes after a while. |
@vcraescu Update: Last night I was analyzing and trying to find the root cause. As of now no luck. One way I could think of is to update/optimize the file change detect logic in the aah CLI (upcoming release). |
But did you manage to reproduce the issue? I switched to OSX and I can reproduce the issue there too. |
@vcraescu I was able to reproduce the scenario of "hot reload reflects the changes on second refresh" it happened many iteration of change detection(s). That's why I thought update the hot reload flow and handling. |
Thanks for taking time to fix this. 👍 |
Applied fix as well as improvements. |
Hi,
I'm using a docker image to fire up aah framework https://hub.docker.com/_/golang/ but hot reload not always detect the changes. This is my Dockerfile:
This is very frustrating and I can't figure out why is that happening.
Makes developing a cumbersome especially when I do some refactoring cause I don't know If I did broke something or just the old code running. I have to restart the container from time to time to be sure I'm running the latest changes.
I'm using aah version 0.11 on a Linux machine:
Thanks!
The text was updated successfully, but these errors were encountered: