Skip to content

Commit

Permalink
Cleared screen when new files modified during the guards run
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudgg committed Apr 10, 2011
1 parent 2a06c13 commit 31c43f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def run_on_change_for_all_guards(files)
new_modified_files = listener.modified_files([Dir.pwd + '/'], :all => true)
listener.update_last_event
unless new_modified_files.empty?
run_on_change_for_all_guards(new_modified_files)
run { run_on_change_for_all_guards(new_modified_files) }
end
end

Expand Down

0 comments on commit 31c43f7

Please sign in to comment.