lib/lookbook/file_watcher.rb in lookbook-2.0.3 vs lib/lookbook/file_watcher.rb in lookbook-2.0.4
- old
+ new
@@ -1,14 +1,8 @@
module Lookbook
class FileWatcher
class << self
def new(...)
- if evented?
- Lookbook.logger.debug "Using `EventedFileUpdateChecker` for file watching"
- else
- Lookbook.logger.debug "The 'listen' gem was not found. Using `FileUpdateChecker` for file watching"
- end
-
file_watcher.new(...)
end
def evented?
!(file_watcher <= ActiveSupport::FileUpdateChecker)