Sha256: 66c5afe21a6e8d707876fdf2634c54e603975886253a3a1e9811fe896b8be721
Contents?: true
Size: 488 Bytes
Versions: 2
Compression:
Stored size: 488 Bytes
Contents
module Lookbook class FileWatcher class << self def new(...) file_watcher.new(...) end def evented? !(file_watcher <= ActiveSupport::FileUpdateChecker) end protected def file_watcher @_file_watcher ||= begin require_relative "./support/evented_file_update_checker" EventedFileUpdateChecker rescue LoadError ActiveSupport::FileUpdateChecker end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lookbook-2.0.5 | lib/lookbook/file_watcher.rb |
lookbook-2.0.4 | lib/lookbook/file_watcher.rb |