title: nodemon watches onjy JavaScript files not TypeScript
body: <p><code>nodemon</code> should be started on debugging in Visual Studio Code and watch TypeScript. On any TypeScript changes, it should re-compile them using <code>ts-node</code>. I'm struggling with many issues here. The currently most important one is that <code>nodemon</code> watches only the generated <code>.js</code>files, but not the original <code>.ts</code>ones - although I explicit let them watch typescript. </p>
  
  <p><code>launch.json</code></p>
  
  <pre><code>{
      "type": "node",
      "request": "launch",
      "name": "nodemon",
      "runtimeExecutable": "nodemon",
      "program": "${workspaceFolder}/index.ts",
      "outFiles": [
          "${workspaceRoot}/dist/*.js"
      ],
      "restart": true,
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "args": [
          "--inspect-brk",
          "-x 'echo hello123'"
      ],
      "timeout": 30000
  }
  </code></pre>
  
  <p>When I start debugging, "hello123" is printed. After saving <code>index.ts</code> nothing happens. If the generated <code>dist/index.js</code> script is saved by hand, it shows "hello123" too. </p>
  
  <p>Of course, this is only to isolate the issue. In fact, I want to run a npm script to re-compile typescript like this: </p>
  
  <pre><code>"scripts": {
      "ts-node": "ts-node --inspect-brk index.ts"
  }
  </code></pre>
  
  <p>But the main problem is: <em>Why</em> does <code>nodemon</code>only watches the generated js-files instead of their typescript ones? Seems like this is caused by <code>outFiles</code> attribute. Without it's not working, it shows an error that corresponding js files cant' be found. </p>