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

Workaround for watching in TextMate etc. #1766

Closed
wants to merge 1 commit into from
Closed

Conversation

bep
Copy link
Member

@bep bep commented Jan 10, 2016

An edit in TextMate on OS X triggers the events CHMOD and REMOVE.

This makes fsnotify stop watching that file.

This commit works around that problem by re-adding the file to the watcher on REMOVE if the file still exists.

See #1053

An edit in `TextMate` on OS X triggers the events `CHMOD` and `REMOVE`.

This makes `fsnotify` stop watching that file.

This commit works around that problem by re-adding the file to the watcher on `REMOVE` if the file still exists.
See gohugoio#1053
@bep
Copy link
Member Author

bep commented Jan 10, 2016

Note: This PR is a better fix:

https://github.com/go-fsnotify/fsnotify/pull/111

@anthonyfok
Copy link
Member

❤️

@bep bep closed this Jan 14, 2016
@bep bep deleted the textmatefix branch April 18, 2017 09:19
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants