Class: FSEvents

Inherits:
Object
  • Object
show all
Defined in:
lib/observr/event_handlers/darwin.rb

Class Method Summary collapse

Class Method Details

.debug(msg) ⇒ nil

Same as Watch.debug, but prefixed with [fsevents] instead.

Examples:


FSEvents.debug('missfired')

Parameters:

  • message (String)

    debug message to print

Returns:

  • (nil)


16
17
18
# File 'lib/observr/event_handlers/darwin.rb', line 16

def self.debug(msg)
  puts "[fsevents] #{msg}" if Observr.options.debug
end