RubyRedGrapefruit
RubyRedGrapefruit

Reputation: 12224

Is there a way to keep Guard from ever running my entire spec?

I'm using Guard along with Zeus and RSpec for testing a Rails 3.2.16 application. When I change an RSpec support file, Guard wants to re-run the whole spec. I really would like to turn that behavior off. I'd like to only run the whole spec by hand, and just let Guard pick up changes to my individual specs.

Upvotes: 1

Views: 48

Answers (1)

Netzpirat
Netzpirat

Reputation: 5501

You need to change the watchers. From the default template just remove

watch('spec/spec_helper.rb')  { "spec" }

Upvotes: 1

Related Questions