title: Why nodemon fail when using -- exec babel-node?
body: <p>I have installed the bable-cli and the babel-preset-env, after installing nodemon the npm start fail to load my application when using the following in the package.json file:</p>
  <pre><code>&quot;scripts&quot;: {
      &quot;start&quot;: &quot;nodemon src/index.js --exec babel-node&quot;
    }
  </code></pre>
  <p><strong>Showing the following error:</strong></p>
  <pre><code>[nodemon] 2.0.7
  [nodemon] to restart at any time, enter `rs`
  [nodemon] watching path(s): *.*
  [nodemon] watching extensions: js,mjs,json
  [nodemon] starting `babel-node src/index.js`
  '&quot;node&quot;' is not recognized as an internal or external command,
  operable program or batch file.
  [nodemon] app crashed - waiting for file changes before starting...
  </code></pre>
  <p><strong>But everything works fine when using the following:</strong></p>
  <pre><code>&quot;scripts&quot;: {
      &quot;start&quot;: &quot;babel-node src/index.js&quot;
    }
  </code></pre>
  <p>Thanks!</p>