1
0
mirror of synced 2025-11-09 12:57:13 +00:00
This commit is contained in:
Tom Gowan
2019-05-01 10:05:34 +10:00
parent bf6c59c40a
commit d15d28f6e6

View File

@@ -99,9 +99,11 @@ fn create_watch(
watcher
.watch(&vp, RecursiveMode::NonRecursive)
.map_err(Error::FileWatch)?;
if vp != fp {
watcher
.watch(&fp, RecursiveMode::NonRecursive)
.map_err(Error::FileWatch)?;
}
let (loader, rx) = Loader::create(vert_path, frag_path);