{"action":"created","issue":{"url":"https://api.github.com/repos/scottcorgan/tap-spec/issues/37","labels_url":"https://api.github.com/repos/scottcorgan/tap-spec/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/scottcorgan/tap-spec/issues/37/comments","events_url":"https://api.github.com/repos/scottcorgan/tap-spec/issues/37/events","html_url":"https://github.com/scottcorgan/tap-spec/issues/37","id":95593037,"number":37,"title":"No summary when run with streaming","user":{"login":"kedashoe","id":719519,"avatar_url":"https://avatars.githubusercontent.com/u/719519?v=3","gravatar_id":"","url":"https://api.github.com/users/kedashoe","html_url":"https://github.com/kedashoe","followers_url":"https://api.github.com/users/kedashoe/followers","following_url":"https://api.github.com/users/kedashoe/following{/other_user}","gists_url":"https://api.github.com/users/kedashoe/gists{/gist_id}","starred_url":"https://api.github.com/users/kedashoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kedashoe/subscriptions","organizations_url":"https://api.github.com/users/kedashoe/orgs","repos_url":"https://api.github.com/users/kedashoe/repos","events_url":"https://api.github.com/users/kedashoe/events{/privacy}","received_events_url":"https://api.github.com/users/kedashoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-17T05:57:08Z","updated_at":"2015-07-17T17:17:52Z","closed_at":null,"body":"When I run\r\n\r\n`node test/test.js | node_modules/.bin/tap-spec`\r\n\r\nI get the nice\r\n\r\n    total:     1\r\n    passing:   0\r\n    failing:   1\r\n    duration:  49ms\r\n\r\noutput at the end, but when I set up streaming\r\n\r\n    Tape.createStream().pipe(TapSpec()).pipe(process.stdout);\r\n\r\nand run\r\n\r\n    node test/test.js\r\n\r\nthere is no summary at the end. Currently running `iojs-v2.1.0`. Figure things are just closing before parser gets the output event? Not sure if I am missing something simple or if there is an easy fix. If not I am happy to look into it more. Thanks for the great package!"},"comment":{"url":"https://api.github.com/repos/scottcorgan/tap-spec/issues/comments/122346616","html_url":"https://github.com/scottcorgan/tap-spec/issues/37#issuecomment-122346616","issue_url":"https://api.github.com/repos/scottcorgan/tap-spec/issues/37","id":122346616,"user":{"login":"kedashoe","id":719519,"avatar_url":"https://avatars.githubusercontent.com/u/719519?v=3","gravatar_id":"","url":"https://api.github.com/users/kedashoe","html_url":"https://github.com/kedashoe","followers_url":"https://api.github.com/users/kedashoe/followers","following_url":"https://api.github.com/users/kedashoe/following{/other_user}","gists_url":"https://api.github.com/users/kedashoe/gists{/gist_id}","starred_url":"https://api.github.com/users/kedashoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kedashoe/subscriptions","organizations_url":"https://api.github.com/users/kedashoe/orgs","repos_url":"https://api.github.com/users/kedashoe/repos","events_url":"https://api.github.com/users/kedashoe/events{/privacy}","received_events_url":"https://api.github.com/users/kedashoe/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T17:17:51Z","updated_at":"2015-07-17T17:17:51Z","body":"Sure, thank you for the quick reply.\r\n\r\nsample-pipe.js\r\n```js\r\nvar Tape = require('tape');\r\n\r\nTape('hello', function(t){\r\n    t.assert(1, 'world');\r\n    t.end();\r\n});\r\n```\r\noutput\r\n```\r\n$ node test/sample-pipe.js | node_modules/.bin/tap-spec \r\n\r\n  hello\r\n\r\n    ✓ world\r\n\r\n\r\n  total:     1\r\n  passing:   1\r\n  duration:  13ms\r\n```\r\nsample-stream.js\r\n```js\r\nvar Tape = require('tape');\r\nvar TapSpec = require('tap-spec');\r\n\r\nTape.createStream()\r\n  .pipe(TapSpec())\r\n  .pipe(process.stdout);\r\n\r\nTape('hello', function(t){\r\n    t.assert(1, 'world');\r\n    t.end();\r\n});\r\n```\r\noutput\r\n```\r\n$ node test/sample-stream.js \r\n\r\n  hello\r\n\r\n    ✓ world\r\n```\r\n```\r\n$ cat /etc/os-release \r\nNAME=\"Ubuntu\"\r\nVERSION=\"14.04.2 LTS, Trusty Tahr\"\r\n$ node --version\r\nv2.1.0\r\n```"}}