Open osenvosem opened 8 months ago
Linux Mint 21.2, notify 6.1.1: simple example just exits with 0 exit code, nothing happens.
Add use std::thread;
and then the following lines before Ok(())
:
println!("Watcher is running. Press Ctrl+C to exit.");
thread::park();
MacOS 13.6, notify 6.1.1
The code executed inside a sync main function. Nothing happens, no errors or output in console when creating/changing/deleting files in the watched folder.
Value of the
sync_dir
variable is"/Users/srg/conf_sync"