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

slow perf on Windows, and throws on basic stuff #90

Closed
ghost opened this issue Nov 10, 2016 · 1 comment
Closed

slow perf on Windows, and throws on basic stuff #90

ghost opened this issue Nov 10, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 10, 2016

@balupton Is it possible to watch a single file? I am on windows and keep getting different errors if I try to watch one file. And also ENOENT errors for Windows even if folders exist.

And I noticed the code seems to be slow. It takes around 420ms on my computer - Windows with 32 GB ram - to console log an invoked event when I'm changing file content.

And its seems like this module are eating CPU to breakfest . Now I have 87% load watching a folder with 1 single file.

And could you tell me how to deal with symlinks, and dot files? Are there any options for this?

@ghost ghost changed the title how to watch a single file? slow perf on Windows, and throws on basic stuff Nov 10, 2016
@balupton
Copy link
Member

balupton commented Nov 24, 2023

Seems its is following symlnks, and you have symlinks pointing outside, as such Watchr is following it.

I'd suggest using watchman #91 otherwise provide some funding and I'll look into it.

Could also just be a windows support issue of watchr #341

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

2 participants