Skip to content

Instantly share code, notes, and snippets.

@nowk
Created June 15, 2011 18:29
Show Gist options
  • Save nowk/1027750 to your computer and use it in GitHub Desktop.
Save nowk/1027750 to your computer and use it in GitHub Desktop.
Autotest
# this lives in your home directory ~/.autotest
#
Autotest.add_hook :initialize do |autotest|
# autotest.add_exception(%r{^\./db})
# autotest.add_exception(%r{^\./log})
# autotest.add_exception(%r{^\./tmp})
# autotest.add_exception(%r{^\./Gemfile.lock})
# autotest.add_exception(%r{^\./\.git})
# autotest.add_exception(%r{^\./\.bundle})
# autotest.add_exception(%r{^\./.+\.swp})
# autotest.add_exception(%r{^\./.+\.swo})
%w{.svn .hg .git .bundle vendor rerun.txt db log tmp .DS_store Gemfile.lock}.each { |e| autotest.add_exception(e) }
end
# try `autotest -v` to see which files are trying to be loaded that might cause infinite loops
# enable cucumber support
#
export AUTOFEATURE=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment