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

ENOTDIR = 27 on windows #12

Open
Phoscur opened this issue Feb 16, 2012 · 1 comment
Open

ENOTDIR = 27 on windows #12

Phoscur opened this issue Feb 16, 2012 · 1 comment

Comments

@Phoscur
Copy link

Phoscur commented Feb 16, 2012

stats.js line 16:

ENOTDIR = 20;

On windows, watchTree does not work as the errno of ENOTDIR is 27 not 20.

@Phoscur
Copy link
Author

Phoscur commented Feb 17, 2012

Same goes for ENOENT, which is not 2 but 34 on windows.

In first semester programming exam I got points removed for handling control flow with exceptions. It seems that is what you are doing here. Maybe you can find a better solution?

Still really happy that I finally found a tree watcher working on windows!

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

No branches or pull requests

1 participant