From e95ea6f656bfc2a368362e7f6729da297b463031 Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Mon, 8 Jan 2018 12:35:06 +0000 Subject: [PATCH] fix: ignorePermissionErrors in chokidar Make any permission errors silent, since it the most likely case we don't need them at all. Fixes: #1213 --- lib/monitor/watch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/monitor/watch.js b/lib/monitor/watch.js index 1d9cccc0..e32685fd 100644 --- a/lib/monitor/watch.js +++ b/lib/monitor/watch.js @@ -49,6 +49,7 @@ function watch() { } var watchOptions = { + ignorePermissionErrors: true, cwd: process.cwd(), // use cwd for relative path ignore ignored: ignored, persistent: true,