class Middleman::SourceWatcher
def strip_extensions(p)
def strip_extensions(p) p = p.sub_ext('') while Middleman::Util.tilt_class(p.to_s) || p.extname == '.html' Pathname(p.to_s + '.*') end
def strip_extensions(p) p = p.sub_ext('') while Middleman::Util.tilt_class(p.to_s) || p.extname == '.html' Pathname(p.to_s + '.*') end