Guardfile in k_doc-0.0.18 vs Guardfile in k_doc-0.0.21

- old
+ new

@@ -17,10 +17,10 @@ watch(rspec.spec_files) # Ruby files ruby = dsl.ruby dsl.watch_spec_files_for(ruby.lib_files) - watch(%r{^lib/k_doc/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" } + watch(%r{^lib/k_doc/**/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" } watch(%r{^lib/k_doc/commands/(.+)\.rb$}) { |m| "spec/unit/commands/#{m[1]}_spec.rb" } end guard :rubocop, all_on_start: false, cli: ['--format', 'clang'] do watch(/{.+\.rb$/)