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

bundle.watch tends to crash when a watched file is deleted #61

Open
senritsu opened this issue Jul 15, 2015 · 3 comments
Open

bundle.watch tends to crash when a watched file is deleted #61

senritsu opened this issue Jul 15, 2015 · 3 comments
Labels

Comments

@senritsu
Copy link

On deleting any file or folder in the watched set, usually the bundle.watch crashes with the following error message:

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: watch EPERM
  at errnoException (fs.js:1031:11)
  at FSEvent.FSWatcher._handle.onchange (fs.js:1049:26)

Process terminated with code 8.

Error message suggests it is a permission problem (which is not the case), and makes it seem like it is on the node fs side, but could be caught and handled by the bundle watcher

The enhancement discussed in #53 would probably also sort of fix this issue.

@chmontgomery
Copy link
Contributor

Can you post your gulpfile, OS, version of gulp?

Also, since bundle.watch is simply using gulp.watch under the covers, do any of these help you?

@senritsu
Copy link
Author

gulpfile, not sure if i am allowed to post it publicly, company policy and all that. Have to check in with my superior about it.

OS is windows 8.1 x64, local filesystem, full admin permissions
gulp dependency is ^3.8.10

removing a leading dot from the glob, or changing

**/*

to

**/*.*

had no effect. Still got a crash after deleting 2 or 3 files.

@nghilevi
Copy link

Any news on this? I have the same problem.

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