Added fsevents as an optional dependency to fix high CPU usage by the node process on Macs

This commit is contained in:
Andrey Okonetchnikov 2016-10-25 10:43:31 +02:00
parent d2c6660530
commit 2e1d98ac7e
2 changed files with 4 additions and 1 deletions

View File

@ -135,5 +135,8 @@
"slate-drop-or-paste-images": "^0.2.0", "slate-drop-or-paste-images": "^0.2.0",
"uuid": "^2.0.3", "uuid": "^2.0.3",
"whatwg-fetch": "^1.0.0" "whatwg-fetch": "^1.0.0"
},
"optionalDependencies": {
"fsevents": "^1.0.14"
} }
} }

View File

@ -3096,7 +3096,7 @@ fs.realpath@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 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" version "1.0.14"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.0.14.tgz#558e8cc38643d8ef40fe45158486d0d25758eee4" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.0.14.tgz#558e8cc38643d8ef40fe45158486d0d25758eee4"
dependencies: dependencies: