Typescript: tsconfig.json outDir property does not work
<p>I have the following <code>tsconfig.json</code>, and I want to have the transpiled output in <code>build/</code> folder</p>

<pre><code>{
    "compileOptions": {
        "module": "amd",
        "noImplicitAny": "true",
        "removeComments": "true",
        "target": "es5",
        "sourceMaps": true,
        "outDir": "build/"
    },
}
</code></pre>

<p>However it doesn't work. The only way I got it to work is to pass <code>outDir</code> as a flag to <code>tsc</code>.</p>

<p>I found one <a href="https://stackoverflow.com/questions/34920649/typescript-outdir-does-not-seem-to-work">question</a> which asked about the same issue I have. However I'm using typescript version 1.8.10. And I've tried the suggested solution there which I still couldn't get it to work.</p>

<p>Anyone know how I can have <code>tsc</code> read <code>outDir</code> property which is set in the <code>tsconfig.json</code> file?</p>