title: Docker container doesn't reload Angular app
body: <p>I have some issue with <code>ng serve</code> in my docker container running by <code>docker-compose</code>.</p>
  
  <p>Dockerfile</p>
  
  <pre><code>FROM node:7.1
  
  RUN mkdir -p /usr/src/app
  WORKDIR /usr/src/app
  COPY package.json /usr/src/app
  RUN npm install
  RUN npm install -g angular-cli
  COPY . /usr/src/app
  
  EXPOSE 4200
  
  CMD [ "npm", "start" ]'
  </code></pre>
  
  <p>And my docker-compose.yml</p>
  
  <pre><code>web:
      build: .
      ports:
          - '8089:4200'
      volumes:
          - .:/usr/src/app/
      environment:
          - NODE_ENV=dev
      command: bash -c "npm start"
  </code></pre>
  
  <p>Everything works great when I run it but the editing file does not rise reload of application. File is changed, I'm sure because I check it by ssh connection and the file in the container is edited. When container is restarted again every change is applied.
  I thought when I switch with building image by only docker to compose this will disappearr, but do not.</p>
  
  <p>When I call touch some file from <code>docker exec</code> <code>webpack</code> reload all file and it work without restarting container.</p>
  
  <p>Someone have solution?</p>