fix gulp-cache with coffee

stable
Juanfran 2015-02-25 08:44:52 +01:00
parent ea9d10a65d
commit 5e8ffda0f1
1 changed files with 4 additions and 1 deletions

View File

@ -262,8 +262,11 @@ gulp.task("locales", function() {
gulp.task("coffee", function() { gulp.task("coffee", function() {
return gulp.src(paths.coffee) return gulp.src(paths.coffee)
.pipe(plumber())
.pipe(cache(coffee())) .pipe(cache(coffee()))
.on("error", function(err) {
console.log(err.toString());
this.emit("end");
})
.pipe(gulp.dest(paths.tmp)); .pipe(gulp.dest(paths.tmp));
}); });