Comment

Marwan EB

Hi Jesus have you found a solution to your problem ? I have the same and I'm stuck too ...

Parent comment

Jesus Valdez

Hi, thanks for the article what´s on it works perfectly until I want to implement it using docker-compose, hot-reloading stops working, maybe I am doing something wrong, I have this docker-compose file: version: "3" services: react: build: context: menumy-react dockerfile: Dockerfile volumes: - '.:/usr/src/app' - '/usr/src/app/node_modules' ports: - "3000:3000" - "35729:35729"

Replies

anand kumar

This worked for me. passing CHOKIDAR_USEPOLLING=true as env var.
In compose:
...
environment:
      - CHOKIDAR_USEPOLLING=true