From 5e8ffda0f17d19b2a0768fc8dd62891c72521b24 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Wed, 25 Feb 2015 08:44:52 +0100 Subject: [PATCH] fix gulp-cache with coffee --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 6d0756d5..8e257762 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -262,8 +262,11 @@ gulp.task("locales", function() { gulp.task("coffee", function() { return gulp.src(paths.coffee) - .pipe(plumber()) .pipe(cache(coffee())) + .on("error", function(err) { + console.log(err.toString()); + this.emit("end"); + }) .pipe(gulp.dest(paths.tmp)); });