From 2e1d98ac7e51a722aabaf03e19a72e9f4284c826 Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Tue, 25 Oct 2016 10:43:31 +0200 Subject: [PATCH] Added fsevents as an optional dependency to fix high CPU usage by the node process on Macs --- package.json | 3 +++ yarn.lock | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4b0b45f5..49b4ac9d 100644 --- a/package.json +++ b/package.json @@ -135,5 +135,8 @@ "slate-drop-or-paste-images": "^0.2.0", "uuid": "^2.0.3", "whatwg-fetch": "^1.0.0" + }, + "optionalDependencies": { + "fsevents": "^1.0.14" } } diff --git a/yarn.lock b/yarn.lock index 3f87634c..8136f192 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3096,7 +3096,7 @@ fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" -fsevents@^1.0.0: +fsevents, fsevents@^1.0.0: version "1.0.14" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.0.14.tgz#558e8cc38643d8ef40fe45158486d0d25758eee4" dependencies: