How do I execute typescript watch and running server at the same time?
<p>I was developing my project in nodejs. I found if I need to code and test api, I will run two console, one is to execute typescript watch, another is to execute server.</p>

<p>I think it's so troublesome. I find other developers on github have written scripts in <code>package.json</code>. It's easy to call any commands. It attracts how to write the scripts and simply my development workflow.</p>

<p>In short, the comand of typescript watch is <code>tsc -w</code> and the comand of running server is <code>node app.js</code>. My idea is merge the commands as <code>tsc -w &amp; node app.js</code> but I can't work the two commands at the same time. How do I do? Thanks.</p>