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

Gulp-rigger doesnt work with gulp-plumber #36

Open
radiocity opened this issue Jun 21, 2015 · 2 comments
Open

Gulp-rigger doesnt work with gulp-plumber #36

radiocity opened this issue Jun 21, 2015 · 2 comments

Comments

@radiocity
Copy link

Gulp-rigger doesnt work with gulp-plumber. Buffer.js:67 error appears.

var gulp = require('gulp'),
    plumber = require('gulp-plumber'),
    rigger = require('gulp-rigger');

var onError = function(err) {
        notify.onError({message: "Failed\n<%= error.message %>", sound: true})(err);
        this.emit('end');
}
gulp.task('javascript', function() {
    gulp.src('src/js/*.js')
        .pipe(plumber({errorHandler: onError}))
        .pipe(rigger())
        .pipe(gulp.dest('./js'))
        .pipe(onComplete());
});
gulp.task('default', ['javascript']);
@WuglyakBolgoink
Copy link

+1

@radiocity
Copy link
Author

@CyberKatze check gulp-file-include

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

2 participants