tonifisler / generator-styleguide

A Yeoman Generator for a Hologram Styleguide with Bootstrap Sass starting files.
MIT License
23 stars 6 forks source link

Gulp break on jshint error #14

Closed Yago closed 9 years ago

Yago commented 10 years ago

When JavaScript aren't validate by JShint, it's break the Gulp flow...

[19:32:50] 'jshint' errored after 331 ms
[19:32:50] Error in plugin 'gulp-jshint'
Message:
    JSHint failed for: /Users/Yago/Sites/Yago/pico/themes/yago/assets/js/images.js
[19:32:50] 'default' errored after 2.88 s
[19:32:50] Error: [object Object]
    at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:161:10)
    at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:187:15)
    at Gulp.emit (events.js:117:20)
    at Gulp.Orchestrator._emitTaskDone (/Users/Yago/Sites/Yago/pico/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
    at /Users/Yago/Sites/Yago/pico/node_modules/gulp/node_modules/orchestrator/index.js:275:23
    at finish (/Users/Yago/Sites/Yago/pico/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/Users/Yago/Sites/Yago/pico/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
    at finish (/Users/Yago/Sites/Yago/pico/node_modules/run-sequence/index.js:39:5)
    at Gulp.onError (/Users/Yago/Sites/Yago/pico/node_modules/run-sequence/index.js:46:4)
    at Gulp.emit (events.js:117:20)