title: Docker Create react app hot reload not working
body: <p>I'm trying to set a development environment in Docker with Create React App and Node js.
  but when I'm changing my code,it doesn't reload changes</p>
  
  <p>Normally just using volumes would be enough, but I added also :
  CHOKIDAR_USEPOLLING=true
  in ENV as create react app official documentation says, and I moved my code to WSL since I'm on Windows 10 but still the same.
  I created a another project with create react app and I used docker with CHOKIDAR_USEPOLLING=true and works just fine, but when I added more services won't work anymore.</p>
  
  <h3>this is my docker-compose file.</h3>
  
  <pre><code>
  version: '3.3'
  services:
    backend:
      image: node
      build:
        context: ./salesbackend/
      ports: 
        - 5000:3001
      env_file: ./salesbackend/.env
      volumes:
        - ./salesbackend:/var/app/salesbackend
        - /var/app/salesbackend/node_modules
      depends_on: 
        - mongo
    frontstore:
      build:
        context: ./frontstore/
      ports:
        - 5001:3000
        - 5002:3003
      env_file: ./frontstore/.env
      environment:
        - NODE_ENV=development
        - CHOKIDAR_USEPOLLING=true
      volumes: 
        - ./frontstore:/var/app/frontstore
        - /var/app/frontstore/node_modules
      depends_on: 
        - backend
    frontend:
      build:
        context: ./frontend/
      ports:
        - 5003:4000
      env_file: ./frontend/.env
      environment:
        - NODE_ENV=development
        - CHOKIDAR_USEPOLLING=true
      volumes: 
        - ./frontend:/var/app/frontend
        - /var/app/frontend/node_modules
  
    mongo:
      image: mongo
      volumes: 
        - ./db/:/data/db
      ports:
        - 30000:27017
  </code></pre>
  
  <h3>This is my Dockerfile for frontend service,</h3>
  
  <p>-> Frontend and Frontstore are both made in create react app and both aren't working.</p>
  
  <pre><code>FROM node:10
  WORKDIR /var/app/
  COPY package.json /var/app/package.json
  RUN npm install
  
  COPY . .
  
  CMD ["npm","start"]
  </code></pre>
  
  <p>using docker-compose up works just fine, when I edit my backend that is build in NestJS, changes auto reloads, but for create-react-app not.</p>