title: Run Nodemon with Typescript compiling?
body: <p>I want my typescript files to be compiled on every file saving with the command <code>tsc</code>. </p>
  
  <p>How do I combine the tsc command with the command that nodemon runs in the <code>build:live</code> script</p>
  
  <pre class="lang-js prettyprint-override"><code>"scripts": {
      "start": "npm run build:live",
      "build:live": "nodemon --watch '*.ts' --exec 'ts-node' app.ts",
   }
  </code></pre>
  
  <p>this script causes nodemon to call itself twice or three times:</p>
  
  <pre><code>"build:live": "nodemon --watch '*.ts' --exec 'ts-node app.ts &amp; tsc'",
  </code></pre>