Compass takes too long to compile

Since updated to the latest version of Compass, 4.294s compilation is now required.

I need this version of the compass out of necessity 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 am compiling with grunt:

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


How to speed up compilation time? Is there something wrong with my configuration?


source to share

2 answers

This is not a configuration issue, this is a known performance regression in the latest Sass and Compass .



Having the same problem pulling my hair out to find a solution, but finally found it; It means to lower.

From 2mins + compilation to 25 seconds.

Here's How:

# frozen_string_literal: true
source ""

# gem "rails"
gem 'sass', "3.2.9"
gem 'sass-globbing', ">= 1.1.0"
gem 'compass', "0.12.2"
gem 'breakpoint',  "2.0.5"
gem 'singularitygs', "< 2.0.0"
gem 'bootstrap-sass'

Run codeHide result

  1. Install GemFile and update it

    bundle install && bundle update

  2. Then to start the compass with the package

    time bundle exec compass compile <path>

I keep my versions like this for a while until they fix performance issues. Hope this helps!



All Articles