-
Notifications
You must be signed in to change notification settings - Fork 156
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
Reload not working on OSX #47
Comments
Here the code example repository https://github.com/paologf-mb/go-docker-compiledaemon |
Any help? |
@paologf-mb Did you try it with go 1.12? |
Same as #44 |
is it related to this post? |
In my case, it was Docker issue. After reinstallation of Docker, everything worker fine. Thanks! |
@pycckuu I tried reinstalling docker but it didnt work, plus I have tried it over 10 MacBooks at work and same result for everyone, reload works several times and afterwards doesn't recognize changes. |
Sadly I have no macs available so it is hard for me to debug this but I doubt there is anything I can actively do at this point. It is either |
Thanks to @HurSungYun, |
@githubnemo It would be great if warnings are documented in READMD.md. Can I update it? Btw, I believe using hot-reload daemon for production is not a good practice in itself, isn't it? |
oh you already updated it. nevermind XD |
Yep but thanks anyway :)
I have nothing against using fsnotify based hot-reload but using polling should be discouraged as it is quite wasteful and should never become a default or habit just because there's a bug somewhere. (But you are right of course, normally you would expect your artefacts to be stable and not need hot-reloading once shipped to production, as such I would see it as bad practice to use hot-reloading in production.) |
I started having this problem with the latest versions of docker-desktop. One thing I noticed was the default behavior of enabling the Perhaps others will have luck with toggling this option off? |
I'm setting up a project in Go following this guide https://levelup.gitconnected.com/how-to-live-reload-code-for-golang-and-docker-without-third-parties-ee90721ef641 , on Linux it works fine. Using it from mac when I change a file from my editor, the file into the container change but CompileDaemon doesn't recognise the change and doesn't rebuild.
If I enter the container and save the changed file, CompileDaemon rebuild.
DOCKER FILE
DockerCompose
VERSIONs
The text was updated successfully, but these errors were encountered: