title: Nodemon doesn't restart
body: <p>I have a nodemon running in a docker-container with a mounted volume on OSX. Nodemon is receiving the file-change but it doesn't restart the server.</p>
  
  <p>Output:</p>
  
  <pre><code>Creating piclet_web_1...
  Attaching to piclet_web_1
  web_1 | 7 Sep 13:37:19 - [nodemon] v1.4.1
  web_1 | 7 Sep 13:37:19 - [nodemon] to restart at any time, enter `rs`
  web_1 | 7 Sep 13:37:19 - [nodemon] watching: *.*
  web_1 | 7 Sep 13:37:19 - [nodemon] starting node ./index.js
  web_1 | restify listening at http://[::]:80 //normal output of started node-app
  //file-change, which gets detected
  web_1 | 7 Sep 13:37:30 - [nodemon] restarting due to changes...
  //no output of restarted server
  </code></pre>
  
  <p>Dockerfile:</p>
  
  <pre><code>FROM node:0.12.7-wheezy
  EXPOSE 80
  
  RUN npm install nodemon -g
  
  ADD app /app
  WORKDIR app
  
  RUN npm install
  </code></pre>
  
  <p>docker-compose.yml</p>
  
  <pre><code>web:
    build: .
    ports:
      - "80:80"
    volumes:
      - ./app/lib:/app/lib
    links:
      - db
    command: "nodemon -L ./index.js"
  db:
    image: mongo:3.1.7
  </code></pre>