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

Bug on initially empty directory #87

Closed
rnagatama opened this issue Sep 24, 2014 · 9 comments
Closed

Bug on initially empty directory #87

rnagatama opened this issue Sep 24, 2014 · 9 comments
Labels

Comments

@rnagatama
Copy link

If I watch a directory that has files in it, then gulp-watch watch it correctly. But when the initial directory is empty, when I added a new file the task won't get executed.

It seems like if the directory is empty, gulp-watch ignore the directory.

@floatdrop
Copy link
Owner

Is gulp.watch working properly in this situation?

@rnagatama
Copy link
Author

I use gulp-watch because gulp.watch can't watch newly created files, so obviously it doesn't work.

@floatdrop
Copy link
Owner

@rnagatama I'm pretty sure, this is related to gaze — which is used by gulp-watch.

@rnagatama
Copy link
Author

Well, gulp-watch:1.0.7 use gaze:0.5.*, while currently the latest gaze is 0.6.4. Maybe you could try updating it and see if it works.

@floatdrop
Copy link
Owner

[email protected] is broken for Windows.

@floatdrop floatdrop added the gaze label Sep 24, 2014
@rnagatama
Copy link
Author

Then I guess I'll bear with it until fixed.

@demisx
Copy link

demisx commented Sep 24, 2014

@rnagatama Consider moving to Mac or Linux. You'll have so much less issues to deal with compared to Windows.

@floatdrop
Copy link
Owner

This issue belongs to gaze. shama/gaze#103

@floatdrop
Copy link
Owner

Consolidating into #56

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

No branches or pull requests

3 participants