We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fac8392 commit 430fac8Copy full SHA for 430fac8
Guardfile
@@ -1,13 +1,9 @@
1
-# A sample Guardfile
2
-# More info at https://github.com/guard/guard#readme
3
-
4
-guard :rspec do
+guard :rspec, all_on_start: true, cmd: 'bundle exec rspec' do
5
watch(%r{^spec/.+_spec\.rb$})
6
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
7
watch('spec/spec_helper.rb') { "spec" }
8
end
9
10
11
guard :rubocop do
12
watch(%r{.+\.rb$})
13
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
0 commit comments