Compass花费太长的时间来编译 [英] Compass taking too long to compile

查看:149
本文介绍了Compass花费太长的时间来编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



由于需要 susy这个版本的指南针,因此需要 susy

 运行sass:dist(sass)任务
运行watch任务
2014年9月30日星期二23:38:01 GMT + 0200(W. Europe Daylight Time)完成4.294s - 等待...

//运行版本

compass -v 1.0.1
susy -v 2.1.3
sass -v 3.4.4

我用grunt进行编译:

  sass:{
dist:{
options:{
style:'compressed',
require:'susy',
compass:true
},
files:{
' <%= yeoman.css%> /style.css':'<%= yeoman.sass%> /style.scss'
}
}
}

如何加快编译时间?这是不是配置的问题,它是一个 github.com/sass/sass/issues/1019rel =nofollow>在最新的Sass&指南针

Since updated to the latest version of Compass it now takes 4.294s to compile.

I need this version of compass due to needed susy

Running "sass:dist" (sass) task
Running "watch" task
Completed in 4.294s at Tue Sep 30 2014 23:38:01 GMT+0200 (W. Europe Daylight Time) - Waiting...`

// Running versions

compass -v 1.0.1
susy    -v 2.1.3
sass    -v 3.4.4

I compile with grunt:

    sass: {                              
        dist: {                          
            options: {                   
                style: 'compressed',
                require: 'susy',
                compass: true
            },
            files: {                     
                '<%= yeoman.css %>/style.css': '<%= yeoman.sass %>/style.scss'
            }
        }
    }

How can I speed up the compile time? Is it something wrong with my config?

解决方案

It's not a config problem, it's a known performance regression in the latest Sass & Compass.

这篇关于Compass花费太长的时间来编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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