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

Gracefully handle missing dir #33

Merged
merged 1 commit into from
Mar 13, 2017
Merged

Gracefully handle missing dir #33

merged 1 commit into from
Mar 13, 2017

Conversation

jkrems
Copy link
Contributor

@jkrems jkrems commented Mar 13, 2017

Only watch if the directory the file is in exists. Otherwise our current code just fails with an ugly ENOENT, even if the file itself was entirely optional.

Copy link
Member

@dbushong dbushong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐑 when 🍏

@jkrems jkrems merged commit 25e97a0 into master Mar 13, 2017
@jkrems jkrems deleted the jk-watch-no-dir branch March 13, 2017 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants