class Guard::Watcher

def call_action(matches)

Returns:
  • (String) - the final paths

Parameters:
  • matches (String, MatchData) -- the matched path or the match from the
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