Closed jamesgeer closed 2 years ago
When running React in development mode you can make change code and these changes will automatically appear in the browser but this feature does not seem to work when running the Docker container.
This seems to be a common problem:
https://github.com/facebook/create-react-app/issues/11879
I found this repo: https://github.com/Farsad/docker-nginx-webpack3-react-hot-loader
Perhaps some of the code can be used to fix this issue.
When running React in development mode you can make change code and these changes will automatically appear in the browser but this feature does not seem to work when running the Docker container.
This seems to be a common problem:
https://github.com/facebook/create-react-app/issues/11879
I found this repo: https://github.com/Farsad/docker-nginx-webpack3-react-hot-loader
Perhaps some of the code can be used to fix this issue.