Skip to content

Instantly share code, notes, and snippets.

@cherring
Created September 3, 2010 15:45
Show Gist options
  • Save cherring/564072 to your computer and use it in GitHub Desktop.
Save cherring/564072 to your computer and use it in GitHub Desktop.
gem install autotest
gem install autotest/fs_event
gem install autotest/growl
gem install autotest/rails
#### ~/.autotest
require 'autotest/growl'
require 'autotest/fsevent'
#require 'redgreen/autotest'
Autotest.add_hook :initialize do |autotest|
%w{.git .svn .hg .DS_Store ._* rerun.txt vendor tmp log doc}.each do |exception|
autotest.add_exception(exception)
end
end
#### Rails.root/autotest/discover.rb
Autotest.add_discovery { "rails" }
Autotest.add_discovery { "rspec2" }
% AUTOFEATURE=true autotest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment