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

Compatibility with gulp-plumber? #40

Closed
mgcrea opened this issue Oct 11, 2014 · 5 comments
Closed

Compatibility with gulp-plumber? #40

mgcrea opened this issue Oct 11, 2014 · 5 comments

Comments

@mgcrea
Copy link

mgcrea commented Oct 11, 2014

It looks like using gulp-if is breaking gulp-plumber error catching:

  function lessChannel() {
    return require('stream-combiner')(
      gulpif('**/*.less', less()),
      // less(), // is properly handled by upstream plumber
      autoprefixer('last 1 version'),
      gulp.dest(src.tmp)
    );
  };
  gulp.task('src/styles', function() {
    gulp.src(src.styles, {cwd: src.cwd, base: src.cwd})
      .pipe(plumber())
      .pipe(lessChannel());
  });
@revolunet
Copy link

+1

1 similar comment
@SevereOverfl0w
Copy link

👍

@revolunet
Copy link

@mgcrea discovered that the issue came from ternary-stream. please upvote here : robrich/ternary-stream#4

@SevereOverfl0w
Copy link

Voting with my thumbs!

@robrich
Copy link
Owner

robrich commented Nov 10, 2014

Published robrich/ternary-stream 1.2.3

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

4 participants