Skip to content

Conversation

@alexgorbatchev
Copy link
Collaborator

I have a script that is actively deleting some of the directories being watched, this was causing gaze to fall over with ENOENT exception.

This PR addresses this issue.

@alexgorbatchev
Copy link
Collaborator Author

@shama any thoughts on this?

@shama
Copy link
Owner

shama commented Mar 25, 2017

I don't think this fixes an issue. Calling watch on a non-existent file should cause it to throw and there is a try catch there. So the ENOENT is probably caused by something else.

@alexgorbatchev
Copy link
Collaborator Author

This was the fix that prevented gaze from crashing in my scenario. Basically, files were being built and placed in the watched folder. Before the build, whole build folder would be removed.

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