X
X
xXRustamXx2019-04-12 21:52:07
Node.js
xXRustamXx, 2019-04-12 21:52:07

Problematic gulp?

Hello everyone, I use the gulp watch method for the img directory, when I delete the folder it throws an error:

Error: EPERM: operation not permitted, watch
    at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:123:28)

Tried to run gulp from cmd as administrator, tried to use chokidar and gulp-watch utilities, upgraded to the latest version of node + gulp, reinstalled node_modules - didn't help...... anyone knows how to solve this error?
PS Does gulp really run out of benefits at this stage and you have to use webpack?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xXRustamXx, 2019-04-13
@xXRustamXx

Defeated the issue with the node-watch utility

P
prubick, 2022-01-27
@prubick

Pass an object with a field as the second argumentignorePermissionErrors: true

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question