class Guard::Compat::Test::Template::Session

def match(file)

def match(file)
  _watches.map do |expr, block|
    next unless (match = file.match(expr))
    block.nil? ? [file] : block.call([file] + match.captures)
  end.flatten.compact.uniq
end