Skip to content
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

Default high precision off if the mtime call fails #75

Merged
merged 1 commit into from
Jan 6, 2013
Merged

Default high precision off if the mtime call fails #75

merged 1 commit into from
Jan 6, 2013

Conversation

zanker
Copy link
Contributor

@zanker zanker commented Jan 6, 2013

This is a bit of an edge case. When using the gem under JRuby inside a JAR on Windows, the mtime call fails with SystemCallError unknown error 20047.

I assume that this is because it's run under a JAR archive and Windows does something different from OSX that makes the mtime call fail. It works fine under OSX, and I imagine Linux as well.

Since it's a bit of an edge case, and the alternative I see is to hook it into the listen test in works?, I figured it's better to just default to high precision not being available if it errors.

thibaudgg added a commit that referenced this pull request Jan 6, 2013
Default high precision off if the mtime call fails
@thibaudgg thibaudgg merged commit 798e03d into guard:master Jan 6, 2013
@thibaudgg
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants