class Middleman::Sources
def find(types, path, glob=false)
def find(types, path, glob=false) array_of_types = Array(types) watchers .lazy .select { |d| array_of_types.include?(d.type) } .map { |d| d.find(path, glob) } .reject(&:nil?) .first end
def find(types, path, glob=false) array_of_types = Array(types) watchers .lazy .select { |d| array_of_types.include?(d.type) } .map { |d| d.find(path, glob) } .reject(&:nil?) .first end