title: webstorm ignoring 'excluded' directories in a .tsconfig.json file
body: <p>When trying to compile typescript files in webstorm, I am bombarded with compilation errors that originate from files in the <code>node_modules</code> folder. </p>
  
  <p>My .tsconfig looks like</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "es5",
      "module": "commonjs",
      "experimentalDecorators": true,
      "emitDecoratorMetadata": true,
      "noImplicitAny": true,
      "sourceMap": true
    },
    "exclude": [
      "node_modules"
    ]
  }
  </code></pre>
  
  <p>and I have 'use .tsconfig.json' checked in <code>preferences &gt; typescript</code>.</p>
  
  <p>The errors I'm getting are from the 'reflect-metadata/Reflect' package</p>
  
  <pre><code>TS2304: Cannot find name 'msCrypto'
  </code></pre>