grunt-ts and tsc producing different results
<p>I am using a tsconfig.json file in conjunction with grunt-ts here is the grunt task:</p>

<pre><code>ts: {
    default: {
    tsconfig: true
  }
</code></pre>

<p>and the tsconfig.json file:</p>

<pre><code>{
  "compilerOptions": {
    "target": "es5",
    "module": "system",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false,
    "rootDir": "app",
    "outDir": "dist"
  },
  "exclude": [
    "node_modules",
    "bower_components",
    "typings/main",
    "typings/main.d.ts"
  ]
}
</code></pre>

<p>When I try to run this grunt task I get an error TS2300 from duplicate identifiers.  the <code>exclude: "typings/main"</code> is meant to avoid this, and it works when running tsc from the command line, but not when running the grunt-ts task. Somewhat confused as it is definitely excluding <code>node_modules</code> in the compilation, but not the typings file.</p>