Skip to content

Commit

Permalink
Small improvement to local run
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocorbucci committed Sep 9, 2018
1 parent aa21904 commit defdbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ end
# end
# end

guard :rubocop do
guard :rubocop, cli: ['--require', 'rubocop-rspec'] do
watch(/.+\.rb$/)
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

0 comments on commit defdbbf

Please sign in to comment.