title: Is there a way to reduce node.js tasks/ processes in VS Code while typescript is required for multiple projects?
body: <p>I'm using Visual Studio Code (VSCode) for a bigger project where we have around 10 to 15 sub git projects in one workspace.</p>
  <p>All these projects are Typescript so I use <code>tasks.json</code> + vscode Option <code>Tasks: Manage Automatic Tasks in Folder</code>.</p>
  <p>This leads to 10-15 nodes processes with each using around 1-4% CPU usage. Unfortunately I have multiple work spaces open so I end up having a lot of node processes not just only consuming <strong>my memory</strong> also <strong>my cpu</strong>.</p>
  <pre><code>It heats up my pc and I want to know if this can be prevented. 
  </code></pre>
  <p>Some projects I change often (2-3) and some are always on master and I barley never touch them. Do you have any best practices how to overcome this problem?</p>
  <p><strong>My problem in screen:</strong> <a href="https://i.stack.imgur.com/eaqQ3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eaqQ3.png" alt="my screen" /></a></p>
  <p><strong>My <code>code --status</code> (snippet):</strong></p>
  <pre><code>CPU %   Mem MB     PID  Process
  1      197   28044  code main
  1     1114   28046     gpu-process
  0        0   28048     utility
  0     1442   28051     window (textarea.vue — d-reporting-vue-ws)
  ...
  15       66   97382           electron_node cli.js 
  0      328   28391       extensionHost
  0       66   30325         electron_node tsserver.js 
  0      721   30327         electron_node tsserver.js 
  0       66   30358           electron_node typingsInstaller.js typesMap.js 
  0      393   30361         /nvm/versions/node/v12.16.3/bin/node //.vscode/extensions/dbaeumer.vscode-eslint-2.1.8/server/out/eslintServer.js --node-ipc --clientProcessId=28391
  0        0   97363         electron_node ms-vscode.js bundle.js 
  0        0   28947       watcherService
  1        0   31594       node ...-reporting-ws/w-articleloader/node_modules/.bin/tsc -p ...-reporting-ws/w-articleloader/tsconfig.json --watch
  2        0   31596       node ...-reporting-ws/w-api-redis/node_modules/.bin/tsc -p ...-reporting-ws/w-api-redis/tsconfig.json --watch
  2        0   31598       node ...-reporting-ws/w-api-i18n/node_modules/.bin/tsc -p ...-reporting-ws/w-api-i18n/tsconfig.json --watch
  2        0   31599       node ...-reporting-ws/w-api-elasticsearch/node_modules/.bin/tsc -p ...-reporting-ws/w-api-elasticsearch/tsconfig.json --watch
  1        0   31600       node ...-reporting-ws/w-api-db/node_modules/.bin/tsc -p ...-reporting-ws/w-api-db/tsconfig.json --watch
  4        0   31601       node ...-reporting-ws/d-lib-hb/node_modules/.bin/tsc -p ...-reporting-ws/d-lib-hb/tsconfig.json --watch
  3      197   31603       node ...-reporting-ws/node_modules/.bin/tsc -p ...-reporting-ws/d-reporting-hb/tsconfig.json --watch
  3        0   31604       node ...-reporting-ws/w-resource-manager/node_modules/.bin/tsc -p ...-reporting-ws/w-resource-manager/tsconfig.json --watch
  1        0   31605       node ...-reporting-ws/w-logger-winston/node_modules/.bin/tsc -p ...-reporting-ws/w-logger-winston/tsconfig.json --watch
  3        0   31607       node ...-reporting-ws/w-mailer/node_modules/.bin/tsc -p ...-reporting-ws/w-mailer/tsconfig.json --watch
  2        0   31608       node ...-reporting-ws/w-core/node_modules/.bin/tsc -p ...-reporting-ws/w-core/tsconfig.json --watch
  1        0   31609       node ...-reporting-ws/w-base-types/node_modules/.bin/tsc -p ...-reporting-ws/w-base-types/tsconfig.json --watch
  2        0   31610       node ...-reporting-ws/w-fulfillment-lib/node_modules/.bin/tsc -p ...-reporting-ws/w-fulfillment-lib/tsconfig.json --watch
  3        0   31612       node ...-reporting-ws/w-rm-type-pug/node_modules/.bin/tsc -p ...-reporting-ws/w-rm-type-pug/tsconfig.json --watch
  2        0   31615       node ...-reporting-ws/w-database-abstraction-couchdb/node_modules/.bin/tsc -p ...-reporting-ws/w-database-abstraction-couchdb/tsconfig.json --watch
  2        0   31737       node ...-reporting-ws/w6-compatibility/node_modules/.bin/tsc -p ...-reporting-ws/w6-compatibility/tsconfig.json --watch
  1        0   31738       node ...-reporting-ws/w-number-group/node_modules/.bin/tsc -p ...-reporting-ws/w-number-group/tsconfig.json --watch
  </code></pre>
  <p><strong>My tsconfig</strong></p>
  <pre><code>{
  &quot;compilerOptions&quot;: {
      &quot;target&quot;: &quot;ES2016&quot;,
      &quot;module&quot;: &quot;CommonJS&quot;,
      &quot;moduleResolution&quot;: &quot;Node&quot;,
      &quot;resolveJsonModule&quot;: true,
      &quot;esModuleInterop&quot;: true,
      &quot;rootDir&quot;: &quot;src&quot;,
      &quot;outDir&quot;: &quot;./&quot;,
      &quot;sourceMap&quot;: true,
      &quot;declaration&quot;: true,
      &quot;strict&quot;: true,
      &quot;noImplicitAny&quot;: true,
      &quot;noImplicitReturns&quot;: true,
      &quot;noUnusedLocals&quot;: true,
      &quot;noUnusedParameters&quot;: true,
      &quot;removeComments&quot;: true,
      &quot;pretty&quot;: true,
      &quot;forceConsistentCasingInFileNames&quot;: true,
      &quot;allowJs&quot;: true,
      &quot;baseUrl&quot;: &quot;.&quot;,
      &quot;paths&quot;: {
          &quot;*&quot;: [&quot;types/*&quot;]
      }
  },
  &quot;include&quot;: [
      &quot;src&quot;
  ],
  &quot;exclude&quot;: [
      &quot;node_modules&quot;
  ]}
  </code></pre>
  <p><strong>Finally my task.json (snippet)</strong></p>
  <pre><code>{
          &quot;type&quot;: &quot;typescript&quot;,
          &quot;tsconfig&quot;: &quot;d-lib-hb/tsconfig.json&quot;,
          &quot;option&quot;: &quot;watch&quot;,
          &quot;problemMatcher&quot;: [
              &quot;$tsc-watch&quot;
          ],
          &quot;runOptions&quot;: {
              &quot;runOn&quot;: &quot;folderOpen&quot;
          }
      }
  </code></pre>