Skip to content

Instantly share code, notes, and snippets.

@libryder
Created April 12, 2012 16:06
Show Gist options
  • Select an option

  • Save libryder/2368640 to your computer and use it in GitHub Desktop.

Select an option

Save libryder/2368640 to your computer and use it in GitHub Desktop.
Autotest fix for infinite loop on failed test
# Throw an exception when any of the following files/directories change to prevent autotest from running
Autotest.add_hook :initialize do |at|
%w{.svn .hg .git vendor rerun.txti db log tmp .DS_store Gemfile.lock}.each {|exception| at.add_exception(exception)}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment