Skip to content

Commit

Permalink
Fix guard watch pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Oct 11, 2013
1 parent 97b27a7 commit 422bbe2
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 @@ -15,7 +15,7 @@ def run_test(file)
end

guard 'shell' do
watch(%r{src/(.+)\.py$}) do |m|
watch(%r{asciinema/(.+)\.py$}) do |m|
test_filename = "tests/#{m[1]}_test.py"

if File.exists?(test_filename)
Expand Down

0 comments on commit 422bbe2

Please sign in to comment.