title: File system events not triggered in docker container when files in mounted volume are changed on the host
body: <p>I would like to use nodemon to restart my project when its files are changed.  I think nodemon works by listening for inotify events to trigger reloading a node.js project.  </p>
  
  <p>The project runs in a docker container, and the project files are in a mounted volume.</p>
  
  <p>When the project files are edited from inside the docker container, for example</p>
  
  <pre><code>docker-compose exec dev vim server.js
  </code></pre>
  
  <p>nodemon works correctly and restarts the server.</p>
  
  <p>However, when an editor running on the host machine is used, nodemon does not pick up the changes and restart the program.</p>
  
  <p>The contents of the files in the docker container do in fact change, so I suspect editing files this way just doesn't trigger an FS event.</p>
  
  <p>Is it possible to set this up so that editing files on the host machine causes file system events to occur in the Docker container?  Why does this not happen already?</p>
  
  Platform Info:
  
  <ul>
  <li>Docker for Windows (Hyper-V)</li>
  <li><code>node</code> docker container</li>
  <li>WebStorm -- Host based editor</li>
  </ul>