From 486f1b4e5117584824ed67ebea7572cf13f09d72 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 7 Mar 2014 05:33:21 +0000 Subject: chore(doc-gen): improve error reporting --- docs/gulpfile.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/gulpfile.js') diff --git a/docs/gulpfile.js b/docs/gulpfile.js index caef1a89..c47c04f5 100644 --- a/docs/gulpfile.js +++ b/docs/gulpfile.js @@ -49,7 +49,11 @@ gulp.task('assets', ['bower'], function() { gulp.task('doc-gen', function() { - return docGenerator('docs.config.js').generateDocs(); + return docGenerator('docs.config.js') + .generateDocs() + .catch(function(error) { + process.exit(1); + }); }); // JSHint the example and protractor test files -- cgit v1.2.3