-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File watching on mounted volumes doesn't work #362
Comments
Thanks for reporting, this is a known limitation: https://docs.docker.com/docker-for-windows/troubleshoot/#inotify-on-shared-drives-does-not-work |
Ok, it seems that |
It looks like inotify-proxy is a workaround to this problem. |
update:TLDR
long story
the link to the docker docs is dead
i'd wish, i had seen that limitation beforehand :sigh: |
updateseems to be fixed in 2.2.0.4 |
Seems to be broken in 2.2.0.5 I tied vue:
image: node:lts
networks:
- intranet
volumes:
- /d/p/spring-cloud-demo/vue-app:/work
command: >
bash -c "cd /work
&& npm run serve" Then tried changing a file and does not work. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
For example these popular packages:
nodemon
node-dev
webpack
should be able to watch file changes on mounted volumes.
Actual behavior
nodemon (works too only using legacy flag)
node-dev (works only with legacy
--poll
option)webpack (works only with poll option)
The text was updated successfully, but these errors were encountered: