Increase scan rate autotest with rspec
I find the integration with RSpec, Growl and rails particularly useful. However, it takes about two to three seconds before a change (sav开发者_Python百科e file) is picked up by autotest.
Is there a way to increase the interval by which autotest scans for filechanges?
If you are on Mac OS X then you can try autotest-fsevent or autotest-inotify if you are on Linux. They will replace the standard Autotest filesystem polling to instead listen to events from the OS.
Are you using Spork? Spork is a separate server that you can load Rails into for your test suite. Michael Hart's book shows you how to set it up.
精彩评论