Canop/bacon

File watcher doesn't work on mounted files on Docker (Windows host)

Open

#313 opened on Jan 21, 2025

View on GitHub
 (10 comments) (0 reactions) (0 assignees)Rust (119 forks)github user discovery
Machelp wantedwindows

Repository metrics

Stars
 (3,289 stars)
PR merge metrics
 (Avg merge 2d 20h) (2 merged PRs in 30d)

Description

I am running bacon --headless run-long on a docker dev container to hot reload. Container is using volume mounted from Windows host and bacon should be watching the files on that volume. Running on windows and running on linux works fine. But for some reason file watcher doesn't seem to work on this specific case.

I think bacon checks for the file changes by listening inotify events. Is there any option that uses polling instead that I have missed?

Contributor guide