Skip to content

Commit

Permalink
fix: ignorePermissionErrors in chokidar
Browse files Browse the repository at this point in the history
Make any permission errors silent, since it the most likely case we don't need them at all.

Fixes: #1213
  • Loading branch information
remy authored Jan 8, 2018
1 parent c121187 commit e95ea6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/monitor/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function watch() {
}

var watchOptions = {
ignorePermissionErrors: true,
cwd: process.cwd(), // use cwd for relative path ignore
ignored: ignored,
persistent: true,
Expand Down

0 comments on commit e95ea6f

Please sign in to comment.