module Guard::Notifier
def turn_on
library.
in the `Guardfile` Guard auto detects the first available
Turn notifications on. If no notifications are defined
def turn_on auto_detect_notification if notifications.empty? && (!::Guard.options || ::Guard.options[:notify]) if notifications.empty? ENV['GUARD_NOTIFY'] = 'false' else notifications.each do |notification| ::Guard::UI.info "Guard uses #{ NOTIFIERS[notification[:name]].to_s.split('::').last } to send notifications." end ENV['GUARD_NOTIFY'] = 'true' end end