Thanks to visit codestin.com
Credit goes to github.com

Skip to content

unusually long compile time on a project #338

@1stevengrant

Description

@1stevengrant

Can anyone shed any light as to why Gulp would be taking so long to compile our Compass project?

When we run gulp compass

gulp.task('compass', function() {
    gulp.src('./docroot/sites/all/themes/pmc/sass/*.scss')
        .pipe(compass({
            config_file: './docroot/sites/all/themes/pmc/compass/config.rb',
            css: './docroot/sites/all/themes/pmc/css',
            sass: './docroot/sites/all/themes/pmc/sass'
        }))
        .pipe(gulp.dest('./docroot/sites/all/themes/pmc/css'));
});

we get

[gulp] Starting 'compass'...
[gulp] Finished 'compass' after 4.22 ms

but it actually takes about 1 min 50 to build our stylesheets

Doing a compass compile is actually much quicker.

Now I suspect this is project related as I've used Gulp on other projects and haven't seen the same issue. I wonder if our use of https://github.com/restorando/compass-retinator is causing the performance lag -- even so, a compass compile with this is still fairly speedy.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions