I have a Rails app, trying to run it in Docker. I have a bind mount with the source code, but the web server does not reflect the changes. E.g. editing /app/views/layouts/application.html.erb makes no difference.
I then removed the bind mount, and edited directly in the container. Same thing happens. I have deleted the browser cache, but the old page is loaded every time. The inodes are the same before and after editing. Strangely - a drastic change like renaming the whole layouts directory makes a difference.
I would expect to see the files change as soon as I reload the page. This works as expected when run from the host, but not from docker.
0 Replies