Sass change the clock interval to be compiled more often

I am using sass to compile scss in css.

After each save, it takes a rush of 15-20 seconds until it compiles the scss file for css, so I need to update it a bit to see the expected results. Is there a way to tell Sas to check for changes more often?

This is the command I use:

sass --watch sass --watch app/scss/main/:app/css/ 

I am using Sass 3.3.8 (Maptastic Maple)

Note that scss is very short, I just started the project.

0
source share
2 answers

Sass 3.3 has a performance issue. See the related issue on Github .

+3
source

Sass is ruby-based and therefore rather slow, there is nothing you can do about it. With that said, 15-20 seconds sounds too slow.

Instead, you can try libsass , which is much faster.

+1
source

Source: https://habr.com/ru/post/971428/


All Articles