{"action":"created","issue":{"url":"https://api.github.com/repos/ToddThomson/tsproject/issues/12","labels_url":"https://api.github.com/repos/ToddThomson/tsproject/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ToddThomson/tsproject/issues/12/comments","events_url":"https://api.github.com/repos/ToddThomson/tsproject/issues/12/events","html_url":"https://github.com/ToddThomson/tsproject/issues/12","id":71398289,"number":12,"title":"gulp task returns prematurely","user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ToddThomson/tsproject/labels/API","name":"API","color":"006b75"},{"url":"https://api.github.com/repos/ToddThomson/tsproject/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ToddThomson/tsproject/labels/fixed","name":"fixed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ToddThomson/tsproject/milestones/1","html_url":"https://github.com/ToddThomson/tsproject/milestones/TsProject%20Release%201.0.0","labels_url":"https://api.github.com/repos/ToddThomson/tsproject/milestones/1/labels","id":1079920,"number":1,"title":"TsProject Release 1.0.0","description":"","creator":{"login":"ToddThomson","id":918658,"avatar_url":"https://avatars.githubusercontent.com/u/918658?v=3","gravatar_id":"","url":"https://api.github.com/users/ToddThomson","html_url":"https://github.com/ToddThomson","followers_url":"https://api.github.com/users/ToddThomson/followers","following_url":"https://api.github.com/users/ToddThomson/following{/other_user}","gists_url":"https://api.github.com/users/ToddThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/ToddThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToddThomson/subscriptions","organizations_url":"https://api.github.com/users/ToddThomson/orgs","repos_url":"https://api.github.com/users/ToddThomson/repos","events_url":"https://api.github.com/users/ToddThomson/events{/privacy}","received_events_url":"https://api.github.com/users/ToddThomson/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":3,"state":"open","created_at":"2015-04-23T02:05:05Z","updated_at":"2015-04-27T22:21:39Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-04-27T20:50:01Z","updated_at":"2015-04-28T20:29:08Z","closed_at":null,"body":"I have a gulp task \r\n\r\n```js\r\ngulp.task('typescript-es5', function() {\r\n  tsProject.src('src/tsconfig-es5.json').pipe(gulp.dest('dist/temp'));\r\n});\r\n```\r\n\r\nthat returns before tsproject pipes the content to disk. This is a huge problem as my other tasks that depend on it are blowing up / weird behaviors because the file that should be there isn't written out yet. Can you implement a callback or have the return work with gulp.\r\n\r\nhttps://github.com/gulpjs/gulp/blob/master/docs/recipes/running-tasks-in-series.md"},"comment":{"url":"https://api.github.com/repos/ToddThomson/tsproject/issues/comments/97198770","html_url":"https://github.com/ToddThomson/tsproject/issues/12#issuecomment-97198770","issue_url":"https://api.github.com/repos/ToddThomson/tsproject/issues/12","id":97198770,"user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T20:29:08Z","updated_at":"2015-04-28T20:29:08Z","body":"I'm not sure what errors you are talking about:\r\n\r\n```\r\n\"C:\\Program Files (x86)\\JetBrains\\WebStorm 141.614\\bin\\runnerw.exe\" \"C:\\Program Files\\nodejs\\node.exe\" C:\\Users\\Blake\\AppData\\Roaming\\npm\\node_modules\\gulp\\bin\\gulp.js --color --gulpfile c:\\Code\\Exceptionless.JavaScript\\gulpfile.js build\r\n[15:27:31] Using gulpfile c:\\Code\\Exceptionless.JavaScript\\gulpfile.js\r\n[15:27:31] Starting 'clean'...\r\n[15:27:31] Finished 'clean' after 48 ms\r\n[15:27:31] Starting 'typescript.es5'...\r\n[TsProject] INFO:  Project config file path: src/tsconfig-es5.json\r\n[TsProject] Building Project with: src/tsconfig-es5.json\r\n[TsProject] Compiling Project Files...\r\n[TsProject] Project build completed successfully.\r\n[15:27:33] Finished 'typescript.es5' after 1.36 s\r\n[15:27:33] Starting 'exceptionless.es5'...\r\n[15:27:33] Finished 'exceptionless.es5' after 743 ms\r\n[15:27:33] Starting 'build'...\r\n[15:27:34] Finished 'build' after 45 ms\r\n\r\nProcess finished with exit code 0\r\n```\r\n\r\nAre you using the es6 module format with 1.5? and getting a single file output?"}}