{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-ruby-sass/issues/208","labels_url":"https://api.github.com/repos/sindresorhus/gulp-ruby-sass/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-ruby-sass/issues/208/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-ruby-sass/issues/208/events","html_url":"https://github.com/sindresorhus/gulp-ruby-sass/issues/208","id":60373816,"number":208,"title":"On error function not working","user":{"login":"entozoon","id":5763772,"avatar_url":"https://avatars.githubusercontent.com/u/5763772?v=3","gravatar_id":"","url":"https://api.github.com/users/entozoon","html_url":"https://github.com/entozoon","followers_url":"https://api.github.com/users/entozoon/followers","following_url":"https://api.github.com/users/entozoon/following{/other_user}","gists_url":"https://api.github.com/users/entozoon/gists{/gist_id}","starred_url":"https://api.github.com/users/entozoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/entozoon/subscriptions","organizations_url":"https://api.github.com/users/entozoon/orgs","repos_url":"https://api.github.com/users/entozoon/repos","events_url":"https://api.github.com/users/entozoon/events{/privacy}","received_events_url":"https://api.github.com/users/entozoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T16:50:40Z","updated_at":"2015-03-20T18:16:00Z","closed_at":null,"body":"on (error) doesn't work, or at least not how it used to.. for example:\r\n```\r\ngulp.task('sass', function() {\r\n\treturn sass('./scss/site.scss')\r\n\t.on('error', function (err) {\r\n\t\tconsole.error(\"Hello?\");\r\n\t})\r\n\t.pipe(gulp.dest('./css'));\r\n});\r\n```\r\n\r\nIf there is an error in the sass file, say a missing $variable, the undefined variable is output to the console via gulp-ruby-sass stderr.. however the given on('error') function seemingly does nothing.\r\n\r\nInterestingly if I change it to \r\n```\r\nreturn sass('./scss')\r\n```\r\n\r\nThe error function is used, but of course that's not what I want - it ought to only compile site.scss"},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-ruby-sass/issues/comments/84092411","html_url":"https://github.com/sindresorhus/gulp-ruby-sass/issues/208#issuecomment-84092411","issue_url":"https://api.github.com/repos/sindresorhus/gulp-ruby-sass/issues/208","id":84092411,"user":{"login":"robwierzbowski","id":925735,"avatar_url":"https://avatars.githubusercontent.com/u/925735?v=3","gravatar_id":"","url":"https://api.github.com/users/robwierzbowski","html_url":"https://github.com/robwierzbowski","followers_url":"https://api.github.com/users/robwierzbowski/followers","following_url":"https://api.github.com/users/robwierzbowski/following{/other_user}","gists_url":"https://api.github.com/users/robwierzbowski/gists{/gist_id}","starred_url":"https://api.github.com/users/robwierzbowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwierzbowski/subscriptions","organizations_url":"https://api.github.com/users/robwierzbowski/orgs","repos_url":"https://api.github.com/users/robwierzbowski/repos","events_url":"https://api.github.com/users/robwierzbowski/events{/privacy}","received_events_url":"https://api.github.com/users/robwierzbowski/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T18:16:00Z","updated_at":"2015-03-20T18:16:00Z","body":"I think the main issue here has been edited, and it's hard to figure out what the original problem is and how to reproduce. I'm going to close this issue as a duplicate of https://github.com/sindresorhus/gulp-ruby-sass/issues/164 (where there is similar issues and fixes being discussed). Feel free to post your task and what you expect it to do there."}}