{"action":"created","issue":{"url":"https://api.github.com/repos/kant2002/gulp-tsc/issues/21","repository_url":"https://api.github.com/repos/kant2002/gulp-tsc","labels_url":"https://api.github.com/repos/kant2002/gulp-tsc/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/kant2002/gulp-tsc/issues/21/comments","events_url":"https://api.github.com/repos/kant2002/gulp-tsc/issues/21/events","html_url":"https://github.com/kant2002/gulp-tsc/issues/21","id":159102283,"number":21,"title":"Using tsconfig","user":{"login":"lexon0011","id":16290662,"avatar_url":"https://avatars.githubusercontent.com/u/16290662?v=3","gravatar_id":"","url":"https://api.github.com/users/lexon0011","html_url":"https://github.com/lexon0011","followers_url":"https://api.github.com/users/lexon0011/followers","following_url":"https://api.github.com/users/lexon0011/following{/other_user}","gists_url":"https://api.github.com/users/lexon0011/gists{/gist_id}","starred_url":"https://api.github.com/users/lexon0011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexon0011/subscriptions","organizations_url":"https://api.github.com/users/lexon0011/orgs","repos_url":"https://api.github.com/users/lexon0011/repos","events_url":"https://api.github.com/users/lexon0011/events{/privacy}","received_events_url":"https://api.github.com/users/lexon0011/received_events","type":"User","site_admin":false},"labels":[{"id":174085868,"url":"https://api.github.com/repos/kant2002/gulp-tsc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-08T08:01:34Z","updated_at":"2016-11-11T10:05:11Z","closed_at":"2016-09-21T03:37:12Z","body":"Is it possible to use an existing tsconfig to setup the gulp-tsc? Because with the gulp-tsc options I could not configure `moduleResolution` or the `exclude` section.\n\nThx\n\nRegards\n"},"comment":{"url":"https://api.github.com/repos/kant2002/gulp-tsc/issues/comments/259924066","html_url":"https://github.com/kant2002/gulp-tsc/issues/21#issuecomment-259924066","issue_url":"https://api.github.com/repos/kant2002/gulp-tsc/issues/21","id":259924066,"user":{"login":"twjacobsen","id":555812,"avatar_url":"https://avatars.githubusercontent.com/u/555812?v=3","gravatar_id":"","url":"https://api.github.com/users/twjacobsen","html_url":"https://github.com/twjacobsen","followers_url":"https://api.github.com/users/twjacobsen/followers","following_url":"https://api.github.com/users/twjacobsen/following{/other_user}","gists_url":"https://api.github.com/users/twjacobsen/gists{/gist_id}","starred_url":"https://api.github.com/users/twjacobsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twjacobsen/subscriptions","organizations_url":"https://api.github.com/users/twjacobsen/orgs","repos_url":"https://api.github.com/users/twjacobsen/repos","events_url":"https://api.github.com/users/twjacobsen/events{/privacy}","received_events_url":"https://api.github.com/users/twjacobsen/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T10:05:11Z","updated_at":"2016-11-11T10:05:11Z","body":"Hi,\r\n\r\nI just tried your suggestion, since I prefer to not maintain settings in 2 places, as I manually run tsc from time to time.\r\n\r\nI get this error: \r\n```\r\n[11:03:59] Compiling TypeScript files using tsc version 2.1.1\r\n[11:04:00] [tsc] > error TS5042: Option 'project' cannot be mixed with source files on a command line.\r\n[11:04:00] Failed to compile TypeScript: Error: tsc command has exited with code:1\r\n```\r\n\r\nSo it seems that when using the `--project` option for tsc, source files should not be passed along.\r\n\r\nHere's the full snip of my gulp task:\r\n```\r\nreturn gulp.src('src/**/*.ts')\r\n      .pipe($.tsc({\r\n        project: './tsconfig.json'\r\n      }))\r\n      .pipe(gulp.dest('.tmp'));\r\n```"}}
{"actor":{"display_login":"twjacobsen"}}