Sass改变监视间隔,要经常编译 [英] Sass change watch interval, to be compile more often

查看:85
本文介绍了Sass改变监视间隔,要经常编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用sass来编译scss到css。

I'm using sass to compile scss to css.

每次保存后,大约需要15-20秒,直到编译为scss文件为止。需要刷新几次才能看到预期的效果。有没有办法告诉Sass更频繁地检查更改?

After each save it take a bout 15-20 seconds until it compile to scss file to css so I need to refresh few times to see the expected results. Is there a way to tell Sass to check for changes more often ?

这是我使用的命令:

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

我使用Sass 3.3.8(Maptastic Maple)

I am using Sass 3.3.8 (Maptastic Maple)

请注意,scss很短,我刚刚开始项目。 / p>

Please note that the scss are very short, I just started the project.

推荐答案

Sass 3.3有一个性能问题。请参阅 Github上的相关问题

There is a performance issue in Sass 3.3. See the related issue on Github.

这篇关于Sass改变监视间隔,要经常编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆