embedded_watcher
doesn't work for crates outside of the main crate directory
#14606
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Bug
An unexpected or incorrect behavior
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
S-Duplicate
This issue or PR already exists
Bevy version
v0.14.1
What you did
embedded_asset!(app, "shaders/my_shader.wgsl");
.bevy/asset_processing
&bevy/embedded_watcher
features.What went wrong
No reload is detected, but changes are taken into account when restarting (& building).
Additional information
It looks like this is caused by
EmbeddedWatcher
only watching the asset root directory (in my example below,crates/main/
). In practice it should probably watch the workspace root and ideally be independently overridable without having to moveassets/
.For completeness my project layout looks something like this:
The text was updated successfully, but these errors were encountered: