Closed boggddan closed 3 years ago
Yeah, the listener gem is not working with docker volumes on Mac. When running the exact same docker-compose file on my Linux Mint machine it works fine. From Mac if I bash into the container and touch a file the listener picks it up fine, but from the host machine it's broken.
I got the same problem. However, I rebuilt the image by removing "bundle install --without production test" by leaving "bundle install" and problem finished. I hope that help.
I recently experienced the same problem.
I'm on a Mac running Catalina - 10.15.7
and using Docker Desktop version 2.4.0
with Docker version 19.03.13
.
I'm able to work around this by using the legacy osxfs
file sharing and not opting into using gRPC FUSE
. If you're using Docker Desktop, you can disable through the "General" tab under preferences:
I recently experienced the same problem.
I'm on a Mac running Catalina -
10.15.7
and using Docker Desktop version2.4.0
with Docker version19.03.13
.I'm able to work around this by using the
legacy osxfs
file sharing and not opting into usinggRPC FUSE
. If you're using Docker Desktop, you can disable through the "General" tab under preferences:![]()
Same here. This worked for me. Thanks @daveshah for sharing this.
@mikegee just informed me that there may be a Docker update addressing this issue: https://github.com/docker/for-mac/issues/4962 which seems related. If that is the case and Docker has resolved this / it's an issue on the Docker end, perhaps this issue can be closed out.
@ms-ati reported that this could have been a special case of #450 since the Linux driver was not listening for :modify
events. This will be fixed with https://github.com/guard/listen/pull/502 that we hope to merge and release in v3.3.0.
Closing this out as #450 is included in v3.3.0.pre.3.
Hello, When I change the file, the changes are not loaded in the docker. I change the files to Windows, the mounted folder to the docker.
In Rails 5.2.0 without
gem listen
everything works or when createrails new app --skip-active-record --api
everything works.docker-compose.yml
Gemfile
If I comment
gem 'listen'
in Gemfile, then an error occurs:How to fix this, so that the docker loads the changes in the files. Thanks