rails_live_reload icon indicating copy to clipboard operation
rails_live_reload copied to clipboard

Rack::Deflater interferes with reload

Open kirley opened this issue 1 year ago • 0 comments

I'm running rails 7.1 and Ruby 3.3.0 and found that havingconfig.middleware.use Rack::Deflater in my config/application.rb stopped the rails_live_reload from working but there were no error messages. I fixed the problem by moving the Rack::Deflater to my config/environments/production.rb where reloading isn't required.

In case someone runs into this I thought it would be helpful to document it. Feel free to close this issue since there is a simple workaround.

P.S. Your gem is fantastic!

kirley avatar Feb 16 '24 04:02 kirley