master
Tom Gowan 6 years ago
parent bf6c59c40a
commit d15d28f6e6

@ -99,9 +99,11 @@ fn create_watch(
watcher
.watch(&vp, RecursiveMode::NonRecursive)
.map_err(Error::FileWatch)?;
watcher
.watch(&fp, 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);

Loading…
Cancel
Save