Canop/bacon

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

Aperta

#313 aperta il 21 gen 2025

 (10 commenti) (0 reazioni) (0 assegnatari)Rust (119 fork)github user discovery
Machelp wantedwindows

Metriche repository

Star
 (3289 stelle)
Metriche merge PR
 (Merge medio 4h 57m) (1 PR mergiata in 30 g)

Descrizione

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?

Guida contributor