controller.rb are not reflected in the browser.
It will be reflected if you restart the container, but it takes time to restart every time.
Windows 10 home
Docker for Windows
config \ environments \ development.rb
config.file_watcher = ActiveSupport :: EventedFileUpdateChecker to the following code.
config.file_watcher = ActiveSupport::FileUpdateChecker
You can also solve it by writing the code below. I couldn't tell the difference from the above code by looking at the Rails guide, so if anyone can understand the difference, I would appreciate it if you could teach me.
config.reload_classes_only_on_change = false
See also: Rails Guide-Setting up Rails applications (https://railsguides.jp/configuring.html)