Merge branch 'main' into create-pull-request/patch

This commit is contained in:
François Mockers 2024-07-08 13:49:46 +02:00 committed by GitHub
commit 456f4efa61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,7 +76,7 @@ impl EmbeddedAssetRegistry {
let root_paths = self.root_paths.clone();
let dir = self.dir.clone();
let processed_root_paths = self.root_paths.clone();
let processd_dir = self.dir.clone();
let processed_dir = self.dir.clone();
source = source
.with_watcher(move |sender| {
Some(Box::new(EmbeddedWatcher::new(
@ -88,7 +88,7 @@ impl EmbeddedAssetRegistry {
})
.with_processed_watcher(move |sender| {
Some(Box::new(EmbeddedWatcher::new(
processd_dir.clone(),
processed_dir.clone(),
processed_root_paths.clone(),
sender,
std::time::Duration::from_millis(300),