Skip to content

Commit a151c79

Browse files
authored
Fix shader reloading detecting changes on mere file access on Linux (#11421)
1 parent 364869b commit a151c79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/viewer/re_renderer/src/file_server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ mod file_server_impl {
259259
#[allow(clippy::enum_glob_use)]
260260
use notify::EventKind::*;
261261
match ev.kind {
262-
Access(_) | Create(_) | Modify(_) | Any => ev
262+
Create(_) | Modify(_) | Any => ev
263263
.paths
264264
.into_iter()
265265
.filter_map(canonicalize_opt)
266266
.collect::<Vec<_>>(),
267-
Remove(_) | Other => Vec::new(),
267+
Access(_) | Remove(_) | Other => Vec::new(),
268268
}
269269
})
270270
.collect();

0 commit comments

Comments
 (0)