Skip to content

Commit

Permalink
Tweak Guardfile
Browse files Browse the repository at this point in the history
  • Loading branch information
manicmaniac committed Feb 26, 2024
1 parent 1232044 commit 2da5738
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 @@ -50,7 +50,7 @@ guard :rspec, cmd: 'bundle exec rspec -t ~slow', run_all: { cmd: 'bundle exec rs
dsl.watch_spec_files_for(ruby.lib_files)
end

guard :rubocop do
guard :rubocop, all_on_start: false, cli: '-D' do
watch(/.+\.rb$/)
watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
end
Expand Down

0 comments on commit 2da5738

Please sign in to comment.