|
|
|
@ -57,4 +57,8 @@ Rails.application.configure do
|
|
|
|
|
# Use an evented file watcher to asynchronously detect changes in source code, |
|
|
|
|
# routes, locales, etc. This feature depends on the listen gem. |
|
|
|
|
config.file_watcher = ActiveSupport::EventedFileUpdateChecker |
|
|
|
|
|
|
|
|
|
# Add Rack::LiveReload to the bottom of the middleware stack with the default |
|
|
|
|
# options: |
|
|
|
|
config.middleware.insert_after ActionDispatch::Static, Rack::LiveReload |
|
|
|
|
end |
|
|
|
|