{"action":"closed","issue":{"url":"https://api.github.com/repos/zont/gulp-usemin/issues/89","labels_url":"https://api.github.com/repos/zont/gulp-usemin/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/zont/gulp-usemin/issues/89/comments","events_url":"https://api.github.com/repos/zont/gulp-usemin/issues/89/events","html_url":"https://github.com/zont/gulp-usemin/issues/89","id":54152198,"number":89,"title":"0.3.8 and 0.3.9 can not work","user":{"login":"blackbing","id":47012,"avatar_url":"https://avatars.githubusercontent.com/u/47012?v=3","gravatar_id":"","url":"https://api.github.com/users/blackbing","html_url":"https://github.com/blackbing","followers_url":"https://api.github.com/users/blackbing/followers","following_url":"https://api.github.com/users/blackbing/following{/other_user}","gists_url":"https://api.github.com/users/blackbing/gists{/gist_id}","starred_url":"https://api.github.com/users/blackbing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackbing/subscriptions","organizations_url":"https://api.github.com/users/blackbing/orgs","repos_url":"https://api.github.com/users/blackbing/repos","events_url":"https://api.github.com/users/blackbing/events{/privacy}","received_events_url":"https://api.github.com/users/blackbing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-13T05:19:52Z","updated_at":"2015-08-27T15:25:00Z","closed_at":"2015-08-27T15:25:00Z","body":"I got error while using 0.3.9/0.3.8. \r\nHere is my config:\r\n```coffee\r\ngulp.task \"usemin\", ->\r\n  gulp.src(\"app/*.html\")\r\n  .pipe( $.usemin(\r\n    css: [$.csso(), $.minifyCss(), 'concat', $.rev()]\r\n    html: [$.minifyHtml(empty: false)]\r\n    js: [$.uglify(), $.rev()]\r\n  ))\r\n  .pipe(gulp.dest(\"dist\"))\r\n  .pipe $.size()\r\n```\r\nThis is Error response.\r\n```shell\r\nstream.js:94\r\n      throw er; // Unhandled stream error in pipe.\r\n            ^\r\nError: write after end\r\n  at writeAfterEnd (_stream_writable.js:133:12)\r\n  at Transform.Writable.write (_stream_writable.js:181:5)\r\n  at Stream.ondata (stream.js:51:26)\r\n  at Stream.emit (events.js:95:17)\r\n  at Stream.endStream (./node_modules/gulp-usemin/node_modules/gulp-concat/index.js:90:10)\r\n  at _end (./node_modules/gulp-usemin/node_modules/gulp-concat/node_modules/through/index.js:65:9)\r\n  at Stream.stream.end (./node_modules/gulp-usemin/node_modules/gulp-concat/node_modules/through/index.js:74:5)\r\n  at Transform.onend (./node_modules/gulp-usemin/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:523:10)\r\n  at Transform.g (events.js:180:16)\r\n  at Transform.emit (events.js:117:20)\r\n  at ./node_modules/gulp-usemin/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:965:16\r\n  at process._tickCallback (node.js:442:13)\r\n```\r\n\r\nHowever, it works well when I point to 0.3.7"}}