aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rails.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-06-03 17:53:18 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-06-03 18:57:36 -0700
commitc763be7c97973fa0dd296fd895d4704dcd4734b1 (patch)
tree92d41d45cb43af76112e669e4674c27493ca25a3 /activesupport/lib/active_support/rails.rb
parentc926ca46280aee795b98206dd0707a96b9423cc5 (diff)
downloadrails-c763be7c97973fa0dd296fd895d4704dcd4734b1.tar.gz
rails-c763be7c97973fa0dd296fd895d4704dcd4734b1.tar.bz2
rails-c763be7c97973fa0dd296fd895d4704dcd4734b1.zip
Don't call listen with empty directory list
Listen interprets an empty list of directories as "watch the current directory". Since EventedFileUpdateChecker doesn't share these semantics, we should not initialize listen if we end up with an empty directory list.
Diffstat (limited to 'activesupport/lib/active_support/rails.rb')
0 files changed, 0 insertions, 0 deletions