Skip to content

Commit aaf65a8

Browse files
committed
Watch middleware for guard
1 parent 3279d15 commit aaf65a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Guardfile

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ rspec_options = {
1616
guard 'rspec', rspec_options do
1717
watch(%r{^spec/.+_spec\.rb$})
1818
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
19+
watch('lib/flipper/ui/middleware.rb') { 'spec/flipper/ui_spec.rb' }
20+
watch('lib/flipper/api/middleware.rb') { 'spec/flipper/api_spec.rb' }
1921
watch(/shared_adapter_specs\.rb$/) { 'spec' }
2022
watch('spec/helper.rb') { 'spec' }
2123
end

0 commit comments

Comments
 (0)