Oh! Yeah I did eventually reduce it to my ~/.autotest hooks clobbering any configuration in a ./.autotest so Kero's solution makes good sense.
Such bizarre behavior. If I put the initialize block after my growl setup then it borks as usual even if I explicitly return nil. However, putting the block before my growl setup and explicitly returning nil makes everything work... Thanks, Kero! And thanks, Dave for bumping this and making me look at it again. On Wed, May 27, 2009 at 1:31 AM, David Chelimsky <dchelim...@gmail.com>wrote: > Adam, that's not what Kero was asking about. In addition to the > ./.autotest file, do you also have a ~/.autotest file? > > > On Tue, May 19, 2009 at 1:54 AM, Adam Anderson <adamanderso...@gmail.com> > wrote: > > Yeah. I apologize that was a typo on my part. It should have said > ./.autotest > > > > > > -Adam > > > > On Mon, May 18, 2009 at 11:55 AM, Kero van Gelder <k...@chello.nl> > wrote: > >>> Then I edit the files like so: > >>> > >>> ./autotest: > >>> Autotest.add_hook :initialize do |at| > >>> at.add_mapping(%r%^spec/something/.*_spec\.rb$%) do > >>> at.files_matching(%r%^spec/something/.*_spec\.rb$%) > >>> end > >>> end > >> > >> Do you perhaps have a ~/.autotest with a hook to :initialize ? > >> If so, let it return nil, like this: > >> > >> Autotest.add_hook :initialize do |at| > >> %w{.svn .hg .git}.each {|exception| > >> at.add_exception(exception) > >> } > >> nil > >> end > >> > >> > >> It's documented, but a nasty default behaviour. > >> > >> Bye, > >> Kero. > >> > >> ___ > >> How can I change the world if I can't even change myself? > >> -- Faithless, Salva Mea > >> _______________________________________________ > >> rspec-users mailing list > >> rspec-users@rubyforge.org > >> http://rubyforge.org/mailman/listinfo/rspec-users > >> > > _______________________________________________ > > rspec-users mailing list > > rspec-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users