title: gulp watch seems to freeze in Docker
body: <p>I'm trying to "dockerize" our development environment. We have a gulp build system that watches changes to our js/sass/jade files. This is all setup to work just fine outside of docker.</p>
  
  <p>I've created a docker container and I mount my code base into it (using a volume). All the precursor npm installs and bower installs finish successfully. My last step runs gulp and it runs properly and builds but then does not pick up any subsequent changes to any of our js/sass/jade files. </p>
  
  <p>I'm running the build system with the following command:</p>
  
  <p><code>docker run -it -v $(pwd):/code/ client gulp reset</code></p>
  
  <p>Does anyone have a similar setup in their development environment? What did you do to get your gulp watch to work and display the building?</p>
  
  <p>EDIT: I guess I could do the gulp build/watch outside of docker and only mount the generated files but I'd rather contain that all inside of docker so that the host machine doesn't need to worry about any dependencies to build/run our app</p>
  
  <p>EDIT2: Here are my dockerfile and docker-compose.yml</p>
  
  <pre><code>#Dockerfile
  FROM node:0.12.5
  RUN mkdir /code
  
  WORKDIR /code
  RUN mkdir client
  WORKDIR client
  RUN mkdir .tmp
  ADD ./client/package.json /code/client/package.json
  ADD ./client/bower.json /code/client/bower.json
  
  RUN npm install gulp -g
  RUN npm install bower -g
  RUN npm install
  RUN npm rebuild node-sass
  RUN bower --allow-root install
  
  CMD gulp reset
  </code></pre>
  
  <p>and</p>
  
  <pre><code>client:
    build: .
    volumes:
      - .:/code
  </code></pre>