Nodemon Doesn't Restart in Windows Docker Environment : <p>My goal is to set up a Docker container that automatically restarts a NodeJS server when file changes are detected from the host machine.</p>

<p>I have chosen nodemon to watch the files for changes.</p>

<p>On Linux and Mac environments, nodemon and docker are working flawlessly.</p>

<p>However, when I am in a <strong>Windows environment</strong>, nodemon doesn't restart the server.</p>

<p>The files are updated on the host machine, and are linked using the <code>volumes</code> parameter in my docker-compose.yml file. </p>

<p>I can see the files have changed when I run <code>docker exec &lt;container-name&gt; cat /path/to/fileChanged.js</code>. This way I know the files are being linked correctly and have been modified in the container.</p>

<p><strong>Is there any reason why nodemon doesn't restart the server for Windows?</strong> </p>
