T
T
teremok10002016-05-05 15:41:18
Sass
teremok1000, 2016-05-05 15:41:18

What is faster to generate sass?

Hello, I am using LiveReload( http://livereload.com) software for mac to generate sass.
The problem is that when there are more than 5-6 thousand lines in the sass file of code + 15-20 icons (which are generated in a sprite), the generation time for all this is about 3-4 seconds, which is very long as it seems to me, I tried to generate everything for a long time it in gulp in my opinion came out even longer.
Can you please tell me how to speed it up? Or is this the real generation time and I want too much? It's just strange that a computer needs so much time to process 6k lines and 20 icons.
Thank you all in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zooks, 2016-05-05
@zooks

Gulp + libsass Place the
icons in a separate file so as not to regenerate each time.

I
Ivan, 2016-05-05
@0neS

Break your gulpfile into smaller tasks. Sprites - separately, styles - separately, etc. The same styles can also be split, depending on the architecture of your application (for example, admin styles - one task, frontend styles - the second, error page styles - the third, etc.). There are also a lot of watchers, each one launches the necessary task, and not all at once.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question