pytest-watcher icon indicating copy to clipboard operation
pytest-watcher copied to clipboard

Does not notice file changes when using bind mount in docker with windows as host

Open WTRipper opened this issue 9 months ago • 0 comments

When using pytest-watcher inside a docker container (e.g. based on debian), running it on windows and mirroring file changes from windows filesystem into the docker container using a bind mount, pytest-watcher will not detect file changes. I think this is because of the combination of linux and windows filesystems where the Observer fails. I think this could be fixed by adding a CLI flag to force polling by using PollingObserver.

WTRipper avatar Jul 09 '25 15:07 WTRipper