class ActionDispatch::Reloader

is enabled, which it is by the default in ‘development` mode.
ActionDispatch::Reloader is included in the middleware stack only if reloading
development.
ActiveSupport::Reloader, intended to assist with code reloading during
ActionDispatch::Reloader wraps the request with callbacks provided by
# Action Dispatch Reloader