Originally created by: mmase
Watcher is quite slow to recognize changes after recent watcher updates. Perhaps this is isolated to large sass codebases. What used to be instant now takes 5 to 10 seconds. Once changes are recognized, compilation is normal/fast.
5.6.0
8.9.4
Node Process
{ http_parser: '2.7.0',
node: '8.9.4',
v8: '6.1.534.50',
uv: '1.15.0',
zlib: '1.2.11',
ares: '1.10.1-DEV',
modules: '57',
nghttp2: '1.25.0',
openssl: '1.0.2n',
icu: '59.1',
unicode: '9.0',
cldr: '31.0.1',
tz: '2017b' }
Node Platform darwin
x64
node-sass version
node-sass 4.7.2 (Wrapper) [JavaScript]
libsass 3.5.0.beta.2 (Sass Compiler) [C/C++]
npm node-sass versions
be.net@0.0.0 /Users/mase/Code/behance/be.net
├── node-sass@4.7.2
Originally posted by: nschonni
What version are you comparing to when you found it fast?
Originally posted by: mmase
@nschonni 4.5.2 is last one but maybe 4.7.1 or 4.7.0.
Here is a profile of what I am talking about. It looks like
close
is fired many, many times now. Appears to be an issue with gaze maybe. A bunch of us just noticed it quite recently though.Originally posted by: weichenghsu
I doubt it's due to the Mac OS high sierra version?
Originally posted by: mmase
Correct, confirmed on earlier OS’ within our org.
On Mon, Feb 26, 2018 at 5:43 PM weichenghsu notifications@github.com
wrote:
Originally posted by: weichenghsu
Thanks~ Any workaround solution so far?
Originally posted by: korve
I have the same problem with macOS 10.13.3. The watcher is stuck at 100% CPU usage after updating a sass file that is watched by node-sass. It then takes around 20-30s to recognize the change.
Last working version for me is node-sass
4.5.3
Originally posted by: weichenghsu
Super slow on high sierra only. Also happens at sass (ruby gem) I believe they are sharing the same system library and the sys lib might be the bottleneck.
node --version && npm --version (git)-[develop]
v9.5.0
5.6.0