adrianhajdin/docker-course

Autosave

Opened this issue · 6 comments

docker run -p 5173:5173 -v "$(pwd):/app" -v /app/node_modules react-docker

I have cloned your repo and using react-docker but when I change something on code it doesn't change on screen. Please help!!!

Screenshot 2024-01-15 130355

Facing same issue!!!

use absolute path
-v "$(pwd):/app" => -v /Users/taikool/Documents/docker_course/react-docker:/app (on mac)

use absolute path -v "$(pwd):/app" => -v /Users/taikool/Documents/docker_course/react-docker:/app (on mac)

what if on windows

use absolute path -v "$(pwd):/app" => -v /Users/taikool/Documents/docker_course/react-docker:/app (on mac)

what if on windows

#4 (comment)

docker run -p 5173:5173 -v "$(pwd):/app" -v /app/node_modules react-docker

I have cloned your repo and using react-docker but when I change something on code it doesn't change on screen. Please help!!!

me to, why its always happen on his tutorial 😭

docker run -p 5173:5173 -v "$(pwd):/app" -v /app/node_modules react-docker
I have cloned your repo and using react-docker but when I change something on code it doesn't change on screen. Please help!!!

me to, why its always happen on his tutorial 😭

I encountered the same problem too,When he did this, the problem was solved :
Gitbash: MSYS_NO_PATHCONV=1 docker run -p 5173:5173 -v $(pwd):/app -v /app/node_modules react-docker
Powershell: docker run -p 5173:5173 -v "$(PWD):/app" -v /app/node_modules react-docker