{"action":"opened","issue":{"url":"https://api.github.com/repos/substack/factor-bundle/issues/57","labels_url":"https://api.github.com/repos/substack/factor-bundle/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/substack/factor-bundle/issues/57/comments","events_url":"https://api.github.com/repos/substack/factor-bundle/issues/57/events","html_url":"https://github.com/substack/factor-bundle/issues/57","id":56166897,"number":57,"title":"When does the process done?","user":{"login":"naorye","id":2873571,"avatar_url":"https://avatars.githubusercontent.com/u/2873571?v=3","gravatar_id":"","url":"https://api.github.com/users/naorye","html_url":"https://github.com/naorye","followers_url":"https://api.github.com/users/naorye/followers","following_url":"https://api.github.com/users/naorye/following{/other_user}","gists_url":"https://api.github.com/users/naorye/gists{/gist_id}","starred_url":"https://api.github.com/users/naorye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naorye/subscriptions","organizations_url":"https://api.github.com/users/naorye/orgs","repos_url":"https://api.github.com/users/naorye/repos","events_url":"https://api.github.com/users/naorye/events{/privacy}","received_events_url":"https://api.github.com/users/naorye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-01T15:30:24Z","updated_at":"2015-02-01T15:30:24Z","closed_at":null,"body":"I am using browserify and this factor-bundle plugin within gulp. I am outputting the result to writable streams (this is from browserify init):\r\n```\r\n            entries: bundleEntries,\r\n            plugin: [ [ 'factor-bundle', { outputs: bundleOutputs.map(writeScript) } ] ]\r\n```\r\nHow can I know when the gulp tasks ends (after all writeScript() calls done)?"}}