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
Suite reruns few times #12
Comments
Interesting. Does it happen when not using the incremental plugin? If incremental works by manipulating the files system, that could be why. |
Actually I realized it happens even if I use |
What editor are you using? |
Just VIM. |
@joeyespo Seems like the same problem I've been seeing :) |
@Glueon
|
@aldanor I have added a |
@aldanor |
Yep, that's caused by atomic saves, hence we have to spool events manually |
@joeyespo As soon as these changes get merged you can close this issue. |
Great! @Glueon |
|
Just for reference: here is a list how different editors handle this: https://github.com/guard/guard/wiki/Analysis-of-inotify-events-for-different-editors |
@blueyed That's a fantastic reference. Thanks! |
@Glueon Merged! Thanks for opening the issue. |
FYI Released pytest-watch 3.0.0 today, which includes the merged changes from #11. Be sure to |
If it's important I am using pytest-watch with https://github.com/pytest-dev/pytest-incremental.
When I update any source file sometimes pytest-watch reruns test twice, sometimes even three times. Is it a problem or a feature?
The text was updated successfully, but these errors were encountered: