aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-12-04 01:58:34 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-12-04 01:58:34 -0200
commita75496b31aaf8de47b21f68d3f68af8c12c1cc94 (patch)
treebfefa3da52d3533a866ebbd033e487f9f5868730
parent3c95352aa043f66f42e3e57213158d48b1c19f8e (diff)
downloadrails-a75496b31aaf8de47b21f68d3f68af8c12c1cc94.tar.gz
rails-a75496b31aaf8de47b21f68d3f68af8c12c1cc94.tar.bz2
rails-a75496b31aaf8de47b21f68d3f68af8c12c1cc94.zip
Disable FileEventedUpdateChecker for now
Railsties tests are broken with this new update checker so we will use the old one until we have the tests fixed.
-rw-r--r--railties/lib/rails/application/configuration.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb
index 80733c2d90..91ed835bd6 100644
--- a/railties/lib/rails/application/configuration.rb
+++ b/railties/lib/rails/application/configuration.rb
@@ -182,11 +182,7 @@ module Rails
private
def file_update_checker
- if defined?(Listen) && Listen::Adapter.select() != Listen::Adapter::Polling
- ActiveSupport::FileEventedUpdateChecker
- else
- ActiveSupport::FileUpdateChecker
- end
+ ActiveSupport::FileUpdateChecker
end
class Custom #:nodoc: