kuzyk / gulp-rigger

Javascript file parser and include engine #buildjs #node http://buildjs.github.io/rigger
41 stars 3 forks source link

Gulp-rigger doesnt work with gulp-plumber #9

Open radiocity opened 9 years ago

radiocity commented 9 years ago

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']);
bezenson commented 8 years ago

Looks like it will be never fixed?

radiocity commented 8 years ago

Try to use gulp-file-include