Answer the question
In order to leave comments, you need to log in
How to eliminate CPU load while running compass watch?
Good afternoon.
I have a problem. With the celluloid gem installed, I run the command compass watch
. At the same time, the ruby.exe process starts using ~ 50% of the processor time, and the compass noticeably slows down. Without celluloid ~ 5% CPU. Celluloid is needed in the dependency chain for gem'a guard.
What could be the problem?
OS: Windows 7 x64, Ruby (Tried 2.0 and 2.1.5, x64 and x86), celluloid (0.16.0 and some of 0.15.x), compass (1.0.1 and 1.0.0)
UPD :
Tried on vagrant (Ubuntu 12.04.5). History repeated itself.
UPD2 : Experimented a little more.
The effect described above is combined with celluloid-dependent gem listen. If you do not install listen, but install only celluloid, then there is no increased load on the processor.
Answer the question
In order to leave comments, you need to log in
Running ruby on Windows. Try running it inside a VirtualBox container.
This is very convenient to do with vagrant.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question