method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ViewReloader
new(watcher:, &block) public

No documentation

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

Hide source
# File actionview/lib/action_view/cache_expiry.rb, line 6
      def initialize(watcher,, &block)
        @mutex = Mutex.new
        @watcher_class = watcher
        @watched_dirs = nil
        @watcher = nil
        @previous_change = false

        rebuild_watcher

        ActionView::PathRegistry.file_system_resolver_hooks << method(:rebuild_watcher)
      end
Register or log in to add new notes.