From 84caa04de036cc6afb6a31957c03beb6cd83645d Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Wed, 19 Mar 2014 20:51:24 +0900 Subject: [PATCH] Return gulp stream from task. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 77523f42..8c784514 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,7 @@ var jshint = require('gulp-jshint') var jsonlint = require('gulp-jsonlint') gulp.task('jshint', function() { - gulp.src(['lib/**/*.js', '*.js']) + return gulp.src(['lib/**/*.js', '*.js']) .pipe(jshint()) .pipe(jshint.reporter('jshint-stylish')) })