title: How can I launch node to run a .ts file from IntelliJ?
body: <p>I have a project set up with IntelliJ IDEA happily compiling <code>.ts</code> TypeScript files to <code>.js</code> ES6 files. The <code>.js</code> files are being dumped neatly next to the <code>.ts</code> files.</p>
  
  <p><a href="https://i.stack.imgur.com/wyZVw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wyZVw.png" alt="directory tree"></a></p>
  
  <p>I'd like to the able to run the .ts files in node.js just like I can with the .js files. E.g. using <kbd>Cmd + Shift + F10</kbd> on <code>&lt;file&gt;.ts</code> IntelliJ will launch <code>node &lt;file&gt;.js</code> (after running the TypeScript compiler).</p>
  
  <p>After each file edit it feels awkward having to remember to open the .js version before running the file I just edited. </p>
  
  <p>The equivalent experience for a Java programmer would be navigating to the <code>.class</code> version of a unit test to execute the edited <code>.java</code> file.</p>
  
  <p>Is this just a missing feature in IntelliJ/WebStorm or am I missing something?</p>