Perf work and Parallel builds

This commit is contained in:
Thomas Reynolds 2016-01-22 15:57:07 -08:00
parent b8c0fd34e7
commit c7a4618166
21 changed files with 63 additions and 43 deletions

View file

@ -322,7 +322,7 @@ module Middleman
if @only.empty?
!@ignored.call(file)
else
@only.any? { |reg| reg.match(file[:relative_path].to_s) }
@only.any? { |reg| file[:relative_path].to_s =~ reg }
end
end
end