Dockerized Rails 5 RC1 application not picking up updates to controllers and models in development Dockerized Rails 5 RC1 application not picking up updates to controllers and models in development docker docker

Dockerized Rails 5 RC1 application not picking up updates to controllers and models in development


I'm Using Rails 5 rc1.

Rails 5 introduced some "improvements" to code reloading, but it doesn’t seem to work with Docker on OS X.

So in config/environments/development.rb, I replaced

config.file_watcher = ActiveSupport::EventedFileUpdateChecker

with

config.file_watcher = ActiveSupport::FileUpdateChecker

It seems that for the ActiveSupport::EventedFileUpdateChecker file watcher, the change event does not occur for docker-machine shared files