Skip to content

Instantly share code, notes, and snippets.

@scottlowe
Created March 7, 2011 15:43
Show Gist options
  • Save scottlowe/858651 to your computer and use it in GitHub Desktop.
Save scottlowe/858651 to your computer and use it in GitHub Desktop.
My copy of /autotest/discover.rb. Used to run Autotest with RSpec 2 and autotest-fsevent
Autotest.add_discovery { "rails" }
Autotest.add_discovery { "rspec2" }
# Save CPU cycles!
require 'autotest/fsevent' if RUBY_PLATFORM.include?('darwin')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment