You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I generated react application using npx create-react-app my-app
everything works fine in my local machine and I used npm start and hot reload works.
but when I started to use this application in docker container I missed hot reloading feature
using following command I created docker container and mounted volume on it: docker run -p 3000:3000 -v "$(pwd):/var/www" -w "/var/www" node npm start
react app comes up and works properly but after changing code it does not affect on this project.
The text was updated successfully, but these errors were encountered:
darius-khll
changed the title
Hot reloading in docker does not work
Hot reloading does not work in docker
Feb 4, 2018
I generated react application using
npx create-react-app my-app
everything works fine in my local machine and I used
npm start
and hot reload works.but when I started to use this application in docker container I missed hot reloading feature
using following command I created docker container and mounted volume on it:
docker run -p 3000:3000 -v "$(pwd):/var/www" -w "/var/www" node npm start
react app comes up and works properly but after changing code it does not affect on this project.
The text was updated successfully, but these errors were encountered: