Additional logging and tracing enhancements

This commit is contained in:
Cameron committed 2025-06-04 15:05:23 -04:00
1 parent 7c882fd31c
commit 2c553a8016
5 files changed
+231 -68

No files matched your search

+7 -1
View File
@@ -676,7 +676,13 @@ fn watch_files() {
let ev = wrx.recv();
if let Ok(Ok(event)) = ev {
match event.kind {
EventKind::Create(_) => create_thumbnails(),
EventKind::Create(create_kind) => {
info!(
"Creating thumbnails {:?} create event kind: {:?}",
event.paths, create_kind
);
create_thumbnails();
}
EventKind::Modify(kind) => {
debug!("All modified paths: {:?}", event.paths);
debug!("Modify kind: {:?}", kind);