Skip to content

Commit

Permalink
Merge pull request swagger-api#2125 from Bpaterak/less_errorfix
Browse files Browse the repository at this point in the history
added a stream end to gulp-less to prevent less errors stopping watch
  • Loading branch information
fehguy committed Apr 27, 2016
2 parents 0fe38d3 + 3526452 commit 07ebf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function _less() {
'./src/main/less/style.less'
])
.pipe(less())
.on('error', log)
.on('error', function(err){ log(err); this.emit('end');})
.pipe(gulp.dest('./src/main/html/css/'))
.pipe(connect.reload());
}
Expand Down

0 comments on commit 07ebf76

Please sign in to comment.