title: Nodemon not restarting: [nodemon] restarting due to changes
body: <p>Nodemon not restarting: [nodemon] restarting due to changes...
  i use vs code if change my code but not update my code browser and show restarting use due to change loop</p>
  <p>probelm:</p>
  <pre><code>[nodemon] to restart at any time, enter `rs`
  [nodemon] watching path(s): *.*
  [nodemon] watching extensions: js,mjs,json
  [nodemon] starting `node index.js`
  server is running at http://127.0.0.1:3000
  [nodemon] restarting due to changes...
  [nodemon] restarting due to changes...
  [nodemon] restarting due to changes...
  </code></pre>
  <p>my code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const http = require("http");
  const PORT = 3000;
  const hostName = "127.0.0.1";
  const server = http.createServer((req,res) =&gt; {
      res.end("Welco my server  server");
  })
  server.listen(PORT,hostName, () =&gt; {
      console.log(`server is running at http://${hostName}:${PORT}`)
  })</code></pre>
  </div>
  </div>
  </p>
  <p>package.json:</p>
  <pre><code>  &quot;name&quot;: &quot;test&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;test 1&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;,
      &quot;start&quot;: &quot;nodemon index.js&quot;
    },
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;dependencies&quot;: {
      &quot;express&quot;: &quot;^4.17.1&quot;,
      &quot;nodemon&quot;: &quot;^2.0.9&quot;
    }
  }
  </code></pre>
  <p>nodemon --verbos index.js</p>
  <pre><code>[nodemon] to restart at any time, enter `rs`
  [nodemon] watching path(s): *.*
  [nodemon] watching extensions: js,mjs,json
  [nodemon] starting `node --verbos index.js`
  node: bad option: --verbos
  [nodemon] app crashed - waiting for file changes before starting...
  </code></pre>