title: How to properly restart nodemon server
body: <p>When I run a nodejs server with the following command:</p>
  
  <pre><code>"start": "nodemon --max-old-space=8192 ./src/app.js --exec babel-node"
  </code></pre>
  
  <p>and I change anything in the code, nodemon automatically reloads the code and restarts the server with the following message.</p>
  
  <pre><code>[nodemon] restarting due to changes...
  [nodemon] starting `babel-node --max-old-space=8192 ./src/app.js`
  </code></pre>
  
  <p><strong>How do I restart the server manually the same way?</strong></p>
  
  <p>Or in other words: What do I write in the package.json scripts "restart" command to simulate the same behaviour that is done by nodemon automatically?</p>
  
  <p>Thanks</p>