{"action":"closed","issue":{"url":"https://api.github.com/repos/TypeStrong/grunt-ts/issues/245","labels_url":"https://api.github.com/repos/TypeStrong/grunt-ts/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/grunt-ts/issues/245/comments","events_url":"https://api.github.com/repos/TypeStrong/grunt-ts/issues/245/events","html_url":"https://github.com/TypeStrong/grunt-ts/issues/245","id":74638883,"number":245,"title":"grunt-ts 4.0.1 ignoring templated parameters in 'reference' option","user":{"login":"smfeest","id":1149322,"avatar_url":"https://avatars.githubusercontent.com/u/1149322?v=3","gravatar_id":"","url":"https://api.github.com/users/smfeest","html_url":"https://github.com/smfeest","followers_url":"https://api.github.com/users/smfeest/followers","following_url":"https://api.github.com/users/smfeest/following{/other_user}","gists_url":"https://api.github.com/users/smfeest/gists{/gist_id}","starred_url":"https://api.github.com/users/smfeest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smfeest/subscriptions","organizations_url":"https://api.github.com/users/smfeest/orgs","repos_url":"https://api.github.com/users/smfeest/repos","events_url":"https://api.github.com/users/smfeest/events{/privacy}","received_events_url":"https://api.github.com/users/smfeest/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-09T10:07:24Z","updated_at":"2015-05-09T19:27:15Z","closed_at":"2015-05-09T19:27:15Z","body":"This looks like a similar issue to #220 but affecting the 'reference' option instead.\r\n\r\nSince upgrading to 4.0.1 (from 2.0.1) the following configuration:\r\n```\r\nts: {\r\n    options: {\r\n        noImplicitAny: true,\r\n        target: 'es5'\r\n    },\r\n    app: {\r\n        options: {\r\n            declaration: true,\r\n        },\r\n        src: '<%= appTsSource %>',\r\n        reference: '<%= appSource %>app/_references.ts',\r\n        out: '<%= appSource %>content/scripts/main.js'\r\n    },\r\n}\r\n```\r\nResults in a 'cannot create directory <%= appTsSource %>' error.\r\n\r\nReplacing the <%= appSource %> tag in the 'reference' option with a literal path (but leaving the tags in 'src' and 'out' fixes the problem)."}}