Skip to content

Commit

Permalink
Get rack-livereload working again in Rails 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Nov 27, 2018
1 parent 9f762e2 commit ac5dced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
config.action_mailer.raise_delivery_errors = false

# Insert livereload js
config.middleware.insert_before(Rack::Lock, Rack::LiveReload)
config.middleware.insert_before(ActionDispatch::DebugExceptions, Rack::LiveReload)
config.action_mailer.perform_caching = false

# Print deprecation notices to the Rails logger.
Expand Down

0 comments on commit ac5dced

Please sign in to comment.