title: How to run node.js ES6 file on mac
body: <p>Can someone help me run a node.js file that has ES6 features? This is my current workflow:</p>
  
  <ul>
  <li>Save change in file</li>
  <li><code>npm run build</code> --- builds file to my <code>src/dist</code> folder</li>
  <li><code>cd</code> into my <code>dist</code> directory</li>
  <li><code>node</code></li>
  <li><code>var file = require('./index.js')</code></li>
  <li><code>file.someMethod()</code></li>
  </ul>
  
  <p>Then when I make a change to my method, I need to repeat all the steps above again.</p>
  
  <p>Does anyone know of a more efficient way to do this?</p>
  
  <p>Thanks in advance!</p>