method

directories_to_watch

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Core
directories_to_watch() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/evented_file_update_checker.rb, line 172
      def directories_to_watch
        dtw = @dirs.keys | @files.map(&:dirname)
        accounted_for = dtw.to_set + Gem.path.map { |path| Pathname(path) }
        dtw.reject { |dir| dir.ascend.drop(1).any? { |parent| accounted_for.include?(parent) } }
      end
Register or log in to add new notes.