Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rack::Deflater interferes with reload #32

Open
kirley opened this issue Feb 16, 2024 · 1 comment
Open

Rack::Deflater interferes with reload #32

kirley opened this issue Feb 16, 2024 · 1 comment

Comments

@kirley
Copy link

kirley commented Feb 16, 2024

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!

@mtimofiiv
Copy link

Thanks. This helped me. Might be good to add this to the README.md!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants