0

In a simple gulp + browser-sync project here, all file add/delete/change are working correctly, but when I delete a directory from app gulp/browser-sync throws an error like below:

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

I am not sure where to look for possible problems. If someone can point me to correct direction.

abhishekisnot
  • 113
  • 2
  • 8

1 Answers1

0

The problem here was an outdated version of BrowserSync.

Updating to the latest version will solve this issue.

shane
  • 852
  • 1
  • 8
  • 16