{"action":"created","issue":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/237","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/237/comments","events_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/237/events","html_url":"https://github.com/dlmanning/gulp-sass/issues/237","id":67864519,"number":237,"title":"gulp-sass + merge2 = Error: Only readable stream can be merged.","user":{"login":"parsnick","id":10160042,"avatar_url":"https://avatars.githubusercontent.com/u/10160042?v=3","gravatar_id":"","url":"https://api.github.com/users/parsnick","html_url":"https://github.com/parsnick","followers_url":"https://api.github.com/users/parsnick/followers","following_url":"https://api.github.com/users/parsnick/following{/other_user}","gists_url":"https://api.github.com/users/parsnick/gists{/gist_id}","starred_url":"https://api.github.com/users/parsnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parsnick/subscriptions","organizations_url":"https://api.github.com/users/parsnick/orgs","repos_url":"https://api.github.com/users/parsnick/repos","events_url":"https://api.github.com/users/parsnick/events{/privacy}","received_events_url":"https://api.github.com/users/parsnick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-12T02:58:13Z","updated_at":"2015-04-12T14:15:03Z","closed_at":"2015-04-12T10:57:52Z","body":"I'm getting this error when trying to use gulp-sass and [merge2](https://github.com/teambition/merge2) to combine my CSS and SCSS files:\r\n\r\ngulpfile.js\r\n```javascript\r\nvar gulp = require('gulp');\r\nvar sass = require('gulp-sass');\r\nvar concat = require('gulp-concat');\r\nvar merge2 = require('merge2');\r\n\r\ngulp.task('default', function () {\r\n\r\n\treturn merge2(\r\n\t\tgulp.src('already-compiled.css'),\r\n\t\tgulp.src('needs-compiling.scss').pipe(sass())\r\n\t)\r\n\t\t.pipe(concat('bundle.css'))\r\n\t\t.pipe(gulp.dest('.'));\r\n\r\n});\r\n```\r\n\r\nIf I remove the `.pipe(sass())`, the task completes as expected.\r\n\r\nStacktrace:\r\n```sh\r\n[02:41:42] Using gulpfile /var/www/gulp-sass-merge2/gulpfile.js\r\n[02:41:42] Starting 'default'...\r\n[02:41:42] 'default' errored after 4.51 ms\r\n[02:41:42] Error: Only readable stream can be merged.\r\n    at pauseStreams (/var/www/gulp-sass-merge2/node_modules/merge2/index.js:92:13)\r\n    at addStream (/var/www/gulp-sass-merge2/node_modules/merge2/index.js:29:25)\r\n    at merge2 (/var/www/gulp-sass-merge2/node_modules/merge2/index.js:84:30)\r\n    at Gulp.<anonymous> (/var/www/gulp-sass-merge2/gulpfile.js:9:9)\r\n    at module.exports (/var/www/gulp-sass-merge2/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)\r\n    at Gulp.Orchestrator._runTask (/var/www/gulp-sass-merge2/node_modules/gulp/node_modules/orchestrator/index.js:273:3)\r\n    at Gulp.Orchestrator._runStep (/var/www/gulp-sass-merge2/node_modules/gulp/node_modules/orchestrator/index.js:214:10)\r\n    at Gulp.Orchestrator.start (/var/www/gulp-sass-merge2/node_modules/gulp/node_modules/orchestrator/index.js:134:8)\r\n    at /usr/lib/node_modules/gulp/bin/gulp.js:129:20\r\n    at process._tickCallback (node.js:448:13)\r\n```\r\n\r\nCloneable example: https://github.com/parsnick/gulp-sass-merge2-error"},"comment":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/comments/92068359","html_url":"https://github.com/dlmanning/gulp-sass/issues/237#issuecomment-92068359","issue_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/237","id":92068359,"user":{"login":"parsnick","id":10160042,"avatar_url":"https://avatars.githubusercontent.com/u/10160042?v=3","gravatar_id":"","url":"https://api.github.com/users/parsnick","html_url":"https://github.com/parsnick","followers_url":"https://api.github.com/users/parsnick/followers","following_url":"https://api.github.com/users/parsnick/following{/other_user}","gists_url":"https://api.github.com/users/parsnick/gists{/gist_id}","starred_url":"https://api.github.com/users/parsnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parsnick/subscriptions","organizations_url":"https://api.github.com/users/parsnick/orgs","repos_url":"https://api.github.com/users/parsnick/repos","events_url":"https://api.github.com/users/parsnick/events{/privacy}","received_events_url":"https://api.github.com/users/parsnick/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T14:15:03Z","updated_at":"2015-04-12T14:15:03Z","body":"@zensh Brilliant, thank you, that works perfectly.\r\n\r\n@Snugug Yes, that would have been fine *if* the problem was actually with `merge2`, as opposed to one of `gulp-sass`'s dependencies :stuck_out_tongue: Never mind, resolved now, thank you."}}