Autotest stop working, 1.0.9?

My autotest runs but when I make changes to a spec it doesn’t reload.
I checked another application I was building that had 1.0.9 but it was
reloading fine.

How would I debug a problem such as autotest not reloading?

On 9/30/07, Andrew WC Brown [email protected] wrote:

My autotest runs but when I make changes to a spec it doesn’t reload.

Reload? Do you mean it doesn’t re-run that spec?

I checked another application I was building that had 1.0.9 but it was
reloading fine.

How would I debug a problem such as autotest not reloading?

If you’re working on a rails app, look at the mappings in
vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb.

If it’s any other kind of ruby app, then look at lib/autotest/rspec.rb
in the rspec gem.

Make sure that the path to the spec file is represented in the mappings.

On Sep 30, 2007, at 3:05 AM, Andrew WC Brown wrote:

My autotest runs but when I make changes to a spec it doesn’t reload.
I checked another application I was building that had 1.0.9 but it
was reloading fine.

How would I debug a problem such as autotest not reloading?

One way would be to run the debugger.

escher: which autotest
/sw/bin/autotest

escher: rdebug /sw/bin/autotest
/sw/bin/autotest:9 require ‘rubygems’
(rdb:1)

Scott

I reinstalled the plugins and generated rspec but still doesn’t work.

On 9/30/07, Andrew WC Brown [email protected] wrote:

I reinstalled the plugins and generated rspec but still doesn’t work.

What is the path to the spec that you’re changing?