lib/nanoc/cli/commands/watch.rb
# A list of commandline tool names that can be used to send notifications
A list of commandline tool names that can be used to send notifications
A list of commandline tool names that can be used to send notifications
def tool
        @tool ||= begin
          require 'terminal-notifier'
          'terminal-notify'
        rescue LoadError
          begin
            TOOLS.find { |t| !`#{FIND_BINARY_COMMAND} #{t}`.empty? }
          rescue Errno::ENOENT
            nil
          end
        end
      end
def tool @tool ||= begin require 'terminal-notifier' 'terminal-notify' rescue LoadError begin TOOLS . find { | t | ! ` #{ FIND_BINARY_COMMAND } #{ t } ` . empty? } rescue Errno :: ENOENT nil end end end
A list of commandline tool names that can be used to send notifications
A list of commandline tool names that can be used to send notifications