Skip to content

Instantly share code, notes, and snippets.

@elskwid
Created July 30, 2011 21:13
Show Gist options
  • Save elskwid/1116006 to your computer and use it in GitHub Desktop.
Save elskwid/1116006 to your computer and use it in GitHub Desktop.
Autotest.add_hook(:initialize) {|at|
# ...
# stop autotest from detecting changes in these files we don't care about
%w{.git .svn .hg .swp .DS_Store ._* tmp db log tmp vendor rerun.txt 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