-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The spec is not executed when file is changed #10
Comments
Is Guard detecting the modification and guard-jasmine tries to run the spec? So you see an output like this:
If this is the case, does the Jasmine runner execute the correct spec when you paste the given URL into your browser? |
It is interesting, because Guard detects the change, but the spec is not executed (So I don't see The reason why I say that the change is detected is because I can see the block in the Guard executed: watch(%r{spec/javascripts/(.+)_spec\.(js\.coffee|js|coffee)$}) { |m| puts m.inspect; "spec/javascripts/#{m[1]}_spec.#{m[2]}" } This DOES output the match, but does NOT execute anything. The output is:
So I suspect the guard-jasmine ignores it for some reason. |
Thanks a lot for the fix. It is also related to #11 in some way that you've already merged. Just wondering if you've released it or I have to point to git master instead? |
I already released 0.8.2 with all your pull requests and my changes. Thanks again for contributing. |
That's awesome. Thanks for that. |
Thanks for the info, now it's clear what happens. The problem is, that the file |
When I update and save the spec (or implementation) it is not re-executed.
The Guard file:
But when I update the
spec/javascripts/spec.js.coff
then all specs are indeed executed.The text was updated successfully, but these errors were encountered: