Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed May 12, 2024
1 parent 73582a9 commit c46f525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ impl WatchedShaderModule {
&mut self,
mut modify_fn: impl FnMut(&mut ShaderSource) -> Result<(), ShaderError>,
) -> Result<(), ShaderError> {
modify_fn(&mut self.source)?;
self.reload()
self.reload()?;
modify_fn(&mut self.source)
}

pub fn changed_paths(&self) -> HashSet<String> {
Expand Down

0 comments on commit c46f525

Please sign in to comment.