def call_action(matches)
      @action.arity > 0 ? @action.call(matches) : @action.call
    rescue => ex
      UI.error "Problem with watch action!\n#{ex.message}"
      UI.error ex.backtrace.join("\n")
    end
def call_action(matches)
      @action.arity > 0 ? @action.call(matches) : @action.call
    rescue => ex
      UI.error "Problem with watch action!\n#{ex.message}"
      UI.error ex.backtrace.join("\n")
    end
Executes a watcher action.

 @param [String, MatchData] matches the matched path or the match from the
   Regex
 @return [String] the final paths