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

cmd/govim: fix darwin file system watcher event check #760

Merged
merged 1 commit into from
Feb 7, 2020

Commits on Feb 6, 2020

  1. cmd/govim: fix darwin file system watcher event check

    Darwin has a separate file system watcher, and it might emit events
    that includes both "Created" and "Changed" flag in the same event.
    
    Since the flag "checked" is checked before "created", the darwin
    implementation will skip to report "created" if both files exist.
    It looks like it only affects tests at the moment (see comments
    in #759).
    
    This fix alters order so that only "created" is reported if both
    flags exist.
    
    Fixes #759
    leitzler committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    5168d27 View commit details
    Browse the repository at this point in the history