{"action":"created","issue":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/90","repository_url":"https://api.github.com/repos/dlmanning/gulp-sass","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/90/comments","events_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/90/events","html_url":"https://github.com/dlmanning/gulp-sass/issues/90","id":43816281,"number":90,"title":"Stops writing CSS after first error in SASS","user":{"login":"demisx","id":4452412,"avatar_url":"https://avatars.githubusercontent.com/u/4452412?v=3","gravatar_id":"","url":"https://api.github.com/users/demisx","html_url":"https://github.com/demisx","followers_url":"https://api.github.com/users/demisx/followers","following_url":"https://api.github.com/users/demisx/following{/other_user}","gists_url":"https://api.github.com/users/demisx/gists{/gist_id}","starred_url":"https://api.github.com/users/demisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisx/subscriptions","organizations_url":"https://api.github.com/users/demisx/orgs","repos_url":"https://api.github.com/users/demisx/repos","events_url":"https://api.github.com/users/demisx/events{/privacy}","received_events_url":"https://api.github.com/users/demisx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dlmanning/gulp-sass/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dlmanning/gulp-sass/labels/failing%20tests","name":"failing tests","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/milestones/1","html_url":"https://github.com/dlmanning/gulp-sass/milestones/2.0.0","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/milestones/1/labels","id":1036194,"number":1,"title":"2.0.0","description":"Rewrite to be closer to a true `node-sass` wrapper and work with `node-sass` 3.x","creator":{"login":"Snugug","id":377188,"avatar_url":"https://avatars.githubusercontent.com/u/377188?v=3","gravatar_id":"","url":"https://api.github.com/users/Snugug","html_url":"https://github.com/Snugug","followers_url":"https://api.github.com/users/Snugug/followers","following_url":"https://api.github.com/users/Snugug/following{/other_user}","gists_url":"https://api.github.com/users/Snugug/gists{/gist_id}","starred_url":"https://api.github.com/users/Snugug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snugug/subscriptions","organizations_url":"https://api.github.com/users/Snugug/orgs","repos_url":"https://api.github.com/users/Snugug/repos","events_url":"https://api.github.com/users/Snugug/events{/privacy}","received_events_url":"https://api.github.com/users/Snugug/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":26,"state":"closed","created_at":"2015-03-24T12:40:48Z","updated_at":"2015-06-24T11:27:40Z","due_on":null,"closed_at":"2015-06-24T11:27:40Z"},"comments":21,"created_at":"2014-09-24T21:17:23Z","updated_at":"2016-06-25T18:13:24Z","closed_at":"2015-05-10T12:26:17Z","body":"First, I've reported this issue under floatdrop/gulp-watch#86 thinking it was related to `gulp-watch`, but then I've realized that the issue is gone when I replace `gulp-sass` with `gulp-less`, so I thought maybe this is a `gulp-sass` related issue after all. \r\n\r\n**TL;DR:** `gulp-sass()`stops piping files to destination after a SASS error occurs. Need to restart gulp for the problem to go away.\r\n\r\n**Detail:**\r\n\r\n1. When SASS files are error free, I see 'Writing sass' message each time I update a `*.scss` file. \r\n1. Then, I deliberately introduce an error into one of the SASS files. I see an error message from `gulp-plumber` as I should. \r\n1. However, when I undo this error, I no longer see \"Writing sass\" message and no CSS files are being written to the `.build/` directory. I need to restart `gulp watch-sass` task to make things go back to normal. \r\n\r\n```coffeescript\r\n# In gulpfile.coffee\r\nsass = require(\"gulp-sass\")\r\n... ... ...\r\ngulp.task \"watch-sass\", ->\r\n  watch\r\n    glob: filePath.appDir + \"/**/*.scss\"\r\n  .pipe plumber()\r\n  .pipe sass() # the problem goes away if I replace `sass` with `less`\r\n  .pipe using prefix: \"Writing sass\" \r\n  .pipe gulp.dest('.build/')\r\n  return  \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/comments/228562963","html_url":"https://github.com/dlmanning/gulp-sass/issues/90#issuecomment-228562963","issue_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/90","id":228562963,"user":{"login":"jwogrady","id":2075310,"avatar_url":"https://avatars.githubusercontent.com/u/2075310?v=3","gravatar_id":"","url":"https://api.github.com/users/jwogrady","html_url":"https://github.com/jwogrady","followers_url":"https://api.github.com/users/jwogrady/followers","following_url":"https://api.github.com/users/jwogrady/following{/other_user}","gists_url":"https://api.github.com/users/jwogrady/gists{/gist_id}","starred_url":"https://api.github.com/users/jwogrady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwogrady/subscriptions","organizations_url":"https://api.github.com/users/jwogrady/orgs","repos_url":"https://api.github.com/users/jwogrady/repos","events_url":"https://api.github.com/users/jwogrady/events{/privacy}","received_events_url":"https://api.github.com/users/jwogrady/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T18:13:24Z","updated_at":"2016-06-25T18:13:24Z","body":"@Avcajaraville nope.  :-("}}
{"actor":{"display_login":"jwogrady"}}