diff options
Diffstat (limited to 'docs/gulpfile.js')
| -rw-r--r-- | docs/gulpfile.js | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
