1

After running zeus start and bundle exec guard, rspec is triggered immediately when I save a file guard is watching. At that point zeus is still reloading the file. Therefore, I have to save the file a second time for the changes to be reflected by rspec. I think it may have something to do with Guardfile:

group :models do
    guard :rspec, cmd: 'zeus rspec' do
        watch('spec/spec_helper.rb')                        { "spec" }
        watch(%r{^spec/models/.+_spec\.rb$})
        watch(%r{^app/models/(.+)\.rb$})                           { |m| "spec/models/#{m[1]}_spec.rb" }
    end
end

How do I track/solve this problem?

wesley6j
  • 1,393
  • 9
  • 17
  • I believe `zeus rspec` waits until `zeus start` finishes loading. You should be getting the same issue outside guard, e.g. by running `zeus start` and immediately following up with `zeus rspec`. Maybe you have an outdated gem somewhere? Anyway, it's best to open such issues in GitHub (you'll likely get a faster response, etc.). – Cezary Baginski Apr 30 '16 at 23:02

0 Answers0