lib/guard/busted/templates/Guardfile in guard-busted-0.1.1 vs lib/guard/busted/templates/Guardfile in guard-busted-0.1.2
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
guard :busted do
watch(%r{^spec/.*\.lua$})
- watch(%r{(?!src)^(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" }
watch(%r{^src/(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" }
+ watch(%r{^(?!src)(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" }
end