Hi,
I have mounted my volume and node_modules but hot code reloading does not work in docker container.
I am wondering what might cause this issue?
Thanks
File watching doesn't work in Docker -- this is a known limitation of Docker.
You can try to set the env variable CHOKIDAR_USEPOLLING=true to fix this.
File watching doesn't work in Docker -- this is a known limitation of Docker.
You can try to set the env variable
CHOKIDAR_USEPOLLING=trueto fix this.
It works like a charm.
Thank you!!!
Jason
Most helpful comment
File watching doesn't work in Docker -- this is a known limitation of Docker.
You can try to set the env variable
CHOKIDAR_USEPOLLING=trueto fix this.