Skip to content

Instantly share code, notes, and snippets.

@thedelchop
Created June 29, 2011 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thedelchop/1053780 to your computer and use it in GitHub Desktop.
Save thedelchop/1053780 to your computer and use it in GitHub Desktop.
Autotest setup
Autotest.add_hook :initialize do |at|
if ARGV.empty?
%w{.git test vendor rerun.txt tmp public/system sqlite3 log/development.log log/production.log log/test.log log/server.log}.each {|exception| at.add_exception(exception)}
else
at.find_directories = ARGV.dup
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment