Docker Mount Directory Problem

  docker, question

Problem description

I plan to use docker to configure the development environment. I have already configured the mount directory. The command is as followsdocker run --name=my-node -p 80:3000 -v /path/to/project:/usr/app my-node, and then after the local code update is saved, the code to mount the directory is also updated, but it does not trigger the hot loading of the webpack and nodemon. These two can be normally thermally loaded locally.

I hope you can help me to solve the puzzle, thank you

This is actually two different problems, there are solutions all around the web, here is a good starting point: …