bevy/crates/bevy_asset
Niklas Eicker bfca4384cc
Reuse and hot reload folder handles (#10210)
# Objective

- Folder handles are not shared. Loading the same folder multiple times
will result in different handles.
- Once folder handles are shared, they can no longer be manually
reloaded, so we should add support for hot-reloading them


## Solution

- Reuse folder handles based on their path
- Trigger a reload of a folder if a file contained in it (or a sub
folder) is added or removed
- This also covers adding/removing/moving sub folders containing files

---------

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2023-10-26 22:19:57 +00:00
..
macros Fix unused variable warning for simple AssetV2 derives (#9961) 2023-09-29 08:08:13 +00:00
src Reuse and hot reload folder handles (#10210) 2023-10-26 22:19:57 +00:00
Cargo.toml few fmt tweaks (#10264) 2023-10-25 19:20:17 +00:00