home ~ projects ~ socials

Prevent An Infinite Loop When Copying Files Watched By notify In Rust

TODO

    Reference: https://github.com/notify-rs/notify/issues/259

    Show solution with:

let data = std::fs::read(in_src)?;
std::fs::write(out_dst, &data)?;

TODO

    Mention the problem was with your static site generator but also shows up in mdBook.

    Mention that switcing to kqueue from fsevent fixes the issue but can run into too many files issue

-- end of line --

References