Skip to content

Commit

Permalink
Update with_winit hot reloading shader directory reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom committed May 30, 2024
1 parent 18dd54a commit cb9d99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with_winit/src/hot_reload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub(crate) fn hot_reload(mut f: impl FnMut() -> Option<()> + Send + 'static) ->

debouncer.watcher().watch(
&Path::new(env!("CARGO_MANIFEST_DIR"))
.join("../../shader")
.join("../../vello_shaders/shader")
.canonicalize()?,
// We currently don't support hot reloading the imports, so don't recurse into there
RecursiveMode::NonRecursive,
Expand Down

0 comments on commit cb9d99e

Please sign in to comment.