browserify / factor-bundle

factor browser-pack bundles into common shared bundles
Other
402 stars 27 forks source link

Browserify Plugin - Unable to catch errors #20

Open justrhysism opened 10 years ago

justrhysism commented 10 years ago

When using factor-bundle as a Browserify plugin, I'm unable to catch compilation errors.

    return browserify({
            entries: src.scripts
        })
        .ignore('jquery')
        .plugin(factor, {
            o: scriptDests
        })
        .bundle({
            debug: true
        })
        .on('error', handleErrors)
        .pipe(source(bundleFilename))
        .pipe(gulp.dest(dev.scripts));

Which means my watch task fails :(.

terinjokes commented 10 years ago

Hrm, indeed. I tried to take a stab at this, but failed. I'll give it another go this evening.