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

Creating/deleting dir triggers file change events #236

Closed
caikan opened this issue Jun 13, 2016 · 5 comments
Closed

Creating/deleting dir triggers file change events #236

caikan opened this issue Jun 13, 2016 · 5 comments

Comments

@caikan
Copy link

caikan commented Jun 13, 2016

gulpWatch(['src/**'], function(vinyl) {
    console.log(vinyl.event, vinyl.relative);
});

Windows 7.
When I create a directory named [a], the files whose name beginning with [a] will trigger a change event.

@UltCombo
Copy link
Collaborator

Maybe related to #231? I haven't got time to triage it yet.

@UltCombo
Copy link
Collaborator

Confirmed bug, managed to reproduce it in Windows 10.

Most likely a Chokidar bug, will have to investigate further.

@UltCombo
Copy link
Collaborator

Upstream bug reference: paulmillr/chokidar#499

@UltCombo
Copy link
Collaborator

This may be fixed in Node v7.1.0 as it uses libuv 1.10.0 which includes a fix for this issue. Can someone test on a Windows machine to confirm?

@UltCombo
Copy link
Collaborator

I've tested on a Windows machine now, with Node 6.9.1 (reproduces the issue) and Node 7.1.0 (works as expected).

The bug was in libuv, part of the Node.js core. It is fixed as of libuv 1.10.0, which ships with Node 7.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants