{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/216","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/216/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/216/events","html_url":"https://github.com/gulpjs/gulp/issues/216","id":26523006,"number":216,"title":"Add option for `gulp.watch` to ignore task errors","user":{"login":"th0r","id":302213,"avatar_url":"https://avatars.githubusercontent.com/u/302213?v=3","gravatar_id":"","url":"https://api.github.com/users/th0r","html_url":"https://github.com/th0r","followers_url":"https://api.github.com/users/th0r/followers","following_url":"https://api.github.com/users/th0r/following{/other_user}","gists_url":"https://api.github.com/users/th0r/gists{/gist_id}","starred_url":"https://api.github.com/users/th0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/th0r/subscriptions","organizations_url":"https://api.github.com/users/th0r/orgs","repos_url":"https://api.github.com/users/th0r/repos","events_url":"https://api.github.com/users/th0r/events{/privacy}","received_events_url":"https://api.github.com/users/th0r/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":48,"created_at":"2014-01-29T14:25:07Z","updated_at":"2015-10-26T10:49:11Z","closed_at":"2014-01-30T03:28:51Z","body":"I have this `styles.app` task to compile my `*.styl` files:\r\n```\r\ngulp.task('styles.app', function () {\r\n    return gulp\r\n        .src('app/client/styles/*.styl')\r\n        .pipe(stylus({\r\n            use: ['nib'],\r\n            set: util.env.production ? null : ['firebug', 'linenos']\r\n        }))\r\n        .pipe(gulpif(util.env.production, csso()))\r\n        .pipe(gulp.dest('public/css/app'));\r\n});\r\n```\r\nIf there is some kind of error during styles compilation, `gulp-stylus` plugin throws an error...and it's ok, because I want build process to exit with non-zero code when building for production.\r\nBut for development I use `gulp.watch` to recompile styles \"on the fly\":\r\n```\r\ngulp.watch('app/client/styles/**/*.styl', ['styles.app']);\r\n```\r\n...and I don't want it to fail on any error in `styles.app` task.\r\nIs there any way to do it?"},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/comments/151097894","html_url":"https://github.com/gulpjs/gulp/issues/216#issuecomment-151097894","issue_url":"https://api.github.com/repos/gulpjs/gulp/issues/216","id":151097894,"user":{"login":"TheunisKotze","id":436217,"avatar_url":"https://avatars.githubusercontent.com/u/436217?v=3","gravatar_id":"","url":"https://api.github.com/users/TheunisKotze","html_url":"https://github.com/TheunisKotze","followers_url":"https://api.github.com/users/TheunisKotze/followers","following_url":"https://api.github.com/users/TheunisKotze/following{/other_user}","gists_url":"https://api.github.com/users/TheunisKotze/gists{/gist_id}","starred_url":"https://api.github.com/users/TheunisKotze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheunisKotze/subscriptions","organizations_url":"https://api.github.com/users/TheunisKotze/orgs","repos_url":"https://api.github.com/users/TheunisKotze/repos","events_url":"https://api.github.com/users/TheunisKotze/events{/privacy}","received_events_url":"https://api.github.com/users/TheunisKotze/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T10:49:11Z","updated_at":"2015-10-26T10:49:11Z","body":"@contra @mnpenner I'd also like to know ^"}}