gaze icon indicating copy to clipboard operation
gaze copied to clipboard

Repeated events over Windows network share

Open pdeffendol opened this issue 9 years ago • 3 comments

This problem has also been reported as gulpjs/gulp#1116 but I suspect it's not directly Gulp-related.

I'm watching for file change events (via Gulp.watch) on Windows, with the files located on a mounted Windows network share. The events are fired almost constantly, and repeatedly for each watched file, with no changes being made to the files being watched. See the linked issue above for a more lengthy example.

pdeffendol avatar Aug 19 '15 19:08 pdeffendol

I am experiencing this as well. I suspect this is an issue with Parallels because a coworker of mine using VM Fusion isn't running into this issue and neither are my other coworkers who aren't using any VM.

dmacdnld avatar Aug 25 '15 20:08 dmacdnld

I'm experiencing a similar issue, but my environment might differ slightly. I run the website/gulp inside of a virtual machine, and my host uses a network share to run the code editor. When I save a file, the gulp.watch inside the VM fires, but I noticed that the gulp.dest() function doesn't actually do anything --- any modified files in the stream get placed into the source directory -- which in this case is my ./scss directory, which again triggers gulp.watch (src = ./scss/*/)

I can fix it by only watching for the ./scss/*.scss files, but the gulp.dest still places processed files inside of that directory.

I'm not sure if the bug is with gulp.watch, gulp,dest or gulp-sass -- or none of the above and with nodejs itself on how a network file save triggers differently.

(grunt works just fine)

davebrong avatar Sep 15 '15 16:09 davebrong

See the Parallels Forum at https://forum.parallels.com/threads/grunt-gulp-watch-from-windows-guest-to-mounted-mac-drive.328830/#post-776203 for a more official response.

pdeffendol avatar Sep 15 '15 16:09 pdeffendol