问题描述
我打算用docker来配置开发环境,已经配置了挂载目录了,命令是这样的docker run --name=my-node -p 80:3000 -v /path/to/project:/usr/app my-node,然后在本地的代码更新保存后,挂载目录的代码同样也更新了,但是却没有触发webpack的热加载和nodemon的热加载。在本地这两个是可以正常热加载的。
docker run --name=my-node -p 80:3000 -v /path/to/project:/usr/app my-node
希望大家能帮我解下惑,谢谢啦
This is actually two different problems, there are solutions all around the web, here is a good starting point: http://stackoverflow.com/ques...
This is actually two different problems, there are solutions all around the web, here is a good starting point: http://stackoverflow.com/ques...