Skip to content

"end" event #142

@EAnushan

Description

@EAnushan

I'm trying to write a gulp task that incorporates gulp-compass as follows:

.pipe(plugins.compass({
    config_file: path.join(options.compass_config_dir, 'config.rb'),
    sass: options.sass_dir,
    css: options.css_dir,
    image: options.output_dir,
    import_path: options.output_dir,
    require: ['susy'],
    sourcemap: true
}))
.on('end', done);

The done callback is the callback for the gulp task itself. I'm calling the callback this way because earlier in the task, I make a fs.access call and call the done callback directly if I don't find a directory.

Unfortunately, the end event doesn't seem to be emitted. Is this intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions