Open Darkside73 opened 11 years ago
I am experiencing the same issue. Has anyone gotten the chance to look into this?
+1
Glad to know that I'm not alone with it) BTW: changing controllers, routes.rb has same issue
Mine's gone the same way too this evening. Can't figure it out.
I have just started to experience this as well. I have shut down Guard and have noticed that changing a model file still triggers zeus to reload the entire application (with most of the time spent waiting on the test and development environments. Changing other things, like controllers and test files do not produce the same reloading. It would seem that this is not an issue with Guard, though it was working fine for me earlier. I do not know what has changed.
In my case:
Maybe its by design?
I'm seeing the same thing too. When I change a spec, it is executed immediately, but when I change a model zeus reloads the test environment and guard-rspec waits until environment is ready before it can begin running the specs.
I'm guessing this is by design since the way zeus is doing it is fairly safe, but I wonder if there's more that can be done by relying more on rails' own code reloading?
I'm experiencing the same problem. When I change a model the test environment, and sometimes also the development environment is reloaded. Changing routes.rb also reloads both environments. Controllers are okay. Also without Guard running. Same results for Zeus versions 0.13.2 and 0.13.3.rc2. It worked fine before, no clue what change could have caused this behavior.
+1
+1
I've noticed that this seems to only happen to models that I'm using with devise (User, Admin, whatnot), but I haven't had the time to dig much deeper.
+1
same thing.
I'm not sure about right place for issue but: guard-rspec developer pretty confident that it is not related to guard-rspec and guard-zeus project seems to be dead.
Zeus and guard start smoothly without any issues. Guard runs within bundler
When guard starts all specs running with zeus speed. But when changing rails model guard runs corresponding spec slowly same as without zeus. Weird and confusing thing: when changing model spec, helper spec or even helper itself guard runs corresponding specs quickly again. Cucumber features always run speedy no matter of file initiator.
Running guard with --debug option confirms issue. There are no diff between slow and quick running except executing "rspec --help" additionally in "quick" case
Case 1: change model spec (quick running ~1 sec)
Case 2: change model itself (slow running ~7 sec)
Ruby version
Rails version
Gemfile (the meaning part); all gems have latest versions.
Guardfile
In addition: if change factory girl file guard runs specs slowly as well
Issue discussion in guard-rspec repo: https://github.com/guard/guard-rspec/issues/163