title: error TS6059: File is not under 'rootDir' .. 'rootDir' is expected to contain all source files
body: <p>I am getting this fairly non-sensical tsc transpilation error:</p>
  
  <blockquote>
    <p>error TS6059: File
    '/Users/alex/codes/interos/teros-cli/src/logging.ts' is not under
    'rootDir' '/Users/alex/codes/teros/notifier-server/src'. 'rootDir'
    is expected to contain all source files.</p>
  </blockquote>
  
  <p>my PWD is <code>/Users/alex/codes/teros/notifier-server</code> and the tsconfig.json file for <code>/Users/alex/codes/teros/notifier-server/tsconfig.json</code> is:</p>
  
  <pre><code>{
    "compilerOptions": {
      "outDir": "dist",
      "allowJs": false,
      "pretty": true,
      "resolveJsonModule": true,
      "sourceMap": false,
      "skipLibCheck": true,
      "rootDir": "src",
      "declaration": false,
      "baseUrl": ".",
      "target": "es2018",
      "module": "commonjs",
      "noImplicitAny": true,
      "removeComments": true,
      "allowUnreachableCode": true,
      "lib": [
        "es2017",
        "es2018"
      ]
    },
    "compileOnSave": false,
    "include": [
      "src"
    ]
  }
  </code></pre>
  
  <p>this seems like a bug..since teros-cli dir is outside the PWD, <em>and</em> is governed by a separate tsconfig.json file.</p>
  
  <p>I even changed this field to:</p>
  
  <pre><code>  "include": [
      "/Users/alex/codes/teros/notifier-server/src"
    ],
    "exclude": [
      "/Users/alex/codes/teros/teros-cli"
    ]
  </code></pre>
  
  <p>still get the same error.</p>