-
Notifications
You must be signed in to change notification settings - Fork 167
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
Gaze callback function runs multiple times on Windows 8.1 #172
Comments
Try this instead: gaze('**/*', {
cwd: __dirname + '/../public/assets/javascripts/',
maxListeners: 999
}, function(err, watcher) {
// ... It works based on patterns, so when using absolute paths it is better to set the |
Code:
Output:
|
Hmm strange. I can't reproduce on Windows 7 and don't have access to a Win 8.1 machine atm. So, if you can track down the issue on Windows 8.1 that would be super helpful. Thanks! |
I am not using PowerShell, just the command line on Windows 8.1. But I am not seeing this issue. So maybe it was fixed or it is something in PowerShell. |
Code:
On Ubuntu terminal:
On Windows 8.1 PowerShell:
He's also not actually watching the files when I run this code on windows, I have a feeling that it might be connected to this strange output. I'm guessing this ain't normal.
Any ideas? Any extra information I can provide you?
I'm using Node v0.10.34
The text was updated successfully, but these errors were encountered: