Skip to content

Commit 1209b34

Browse files
committed
Watch files in app/git in guard
1 parent 7ddc987 commit 1209b34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: Guardfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# A sample Guardfile
22
# More info at https://github.com/guard/guard#readme
33

4-
guard :minitest, include: %w(. app app/presenters lib test), test_folders: %w(test/micro) do
4+
guard :minitest, include: %w(. app app/presenters app/git lib test), test_folders: %w(test/micro) do
55
watch(%r{^test/micro.*\.rb})
66
watch(%r{^test/fast_test_helper\.rb}) { "test/micro" }
77
watch(%r{^app/presenters/(.*)\.rb}) { |m| "test/micro/presenters/#{m[1]}_test.rb" }
8+
watch(%r{^app/git/(.*)\.rb}) { |m| "test/micro/git/#{m[1]}_test.rb" }
89
watch(%r{^app/validators/(.*)\.rb}) { |m| "test/micro/validators/#{m[1]}_test.rb" }
910
watch(%r{^app/commands/(.*)\.rb}) { |m| "test/micro/commands/#{m[1]}_test.rb" }
1011
watch(%r{^lib/(.*)\.rb}) { |m| "test/micro/#{m[1]}_test.rb" }

0 commit comments

Comments
 (0)