Created
June 22, 2011 18:43
-
-
Save mkb/1040784 to your computer and use it in GitHub Desktop.
Prevent infinite loop in Autotest by ignoring volatile files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Autotest.add_hook :initialize do |at| | |
# Prevent infinite loops by ignoring volatile files | |
%w{.git vendordb log tmp .DS_store Gemfile.lock}.each do |exception| | |
at.add_exception(exception) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment