Skip to content
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

watch failed in docker mount case #85

Open
blizzardzheng opened this issue Sep 26, 2019 · 1 comment
Open

watch failed in docker mount case #85

blizzardzheng opened this issue Sep 26, 2019 · 1 comment

Comments

@blizzardzheng
Copy link

when i watch a folder, then run a docker mount this folder, and do some install task in it, i found it not react the change.

@implausible
Copy link
Contributor

The order of operations here is a bit strange. I believe you want to:

  1. Mount folder in docker
  2. Watch folder
  3. Expect events to occur.

I think if you do:

  1. Watch folder
  2. Mount folder in docker
  3. Expect events to occur.

Then the folder you've watched on step 1 will have a different inode than the folder that mounts over it, thus not being watched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants