I’m facing a small problem and I don’t really understand how it works.
I’m running a simple node app into a container with nodemon to get a “hot reload” whenever I make a change in local.
But my change are not reflected in the container, so nodemon doesn’t refresh my app.
After some research, I found i can use the legacy mode but also found that this problem is related to the fact i’m using Windows folder, that is mapped to my container, and this, bypass the linux Kernel. So I learn we can mount our drive into the Linux filesystem and it can solve the problem.
with PowerSheel started in admin mode, I try to did it :
with “wsl --mount ‘myDriverID’”
But It say “Process can’t be executed, because it used by another proccess”.
In my Windows explorer I can go to the Linux filesystem, I Created a folder into the root folder, copy my project into, and run VSCode but I can’t use docker
Just run "docker --version to make sure docker is accessible on your WSL. If not, start Docker Desktop go to settings and make sure to enable docker to your wsl environnement.