Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"end" event #142

Open
EAnushan opened this issue Oct 12, 2016 · 0 comments
Open

"end" event #142

EAnushan opened this issue Oct 12, 2016 · 0 comments

Comments

@EAnushan
Copy link

EAnushan commented Oct 12, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant