diff --git a/src/main.rs b/src/main.rs index 1a7accb..bb6b47e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -566,8 +566,9 @@ fn watcher_background(sender: Sender) { }; if let Some(path) = path { - if path.extension().unwrap_or_default() == "yml" { - // Only load yml files + if path.extension().unwrap_or_default() == "yml" && + !path.file_name().unwrap_or_default().to_string_lossy().starts_with("."){ + // Only load non-hidden yml files true } else { false