diff options
author | John Hawthorn <john@hawthorn.email> | 2019-06-03 17:53:18 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2019-06-03 18:57:36 -0700 |
commit | c763be7c97973fa0dd296fd895d4704dcd4734b1 (patch) | |
tree | 92d41d45cb43af76112e669e4674c27493ca25a3 /activesupport/lib/active_support/key_generator.rb | |
parent | c926ca46280aee795b98206dd0707a96b9423cc5 (diff) | |
download | rails-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/key_generator.rb')
0 files changed, 0 insertions, 0 deletions