fix hot reloading svg elements

This commit is contained in:
Evan Almloff committed 2023-11-26 09:21:27 -06:00
1 parent f8ce72c605
commit 1c0b33cef4
2 files changed
+50 -5

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ pub fn init<Ctx: HotReloadingContext + Send + 'static>(cfg: Config<Ctx>) {
} = cfg;
if let Ok(crate_dir) = PathBuf::from_str(root_path) {
// try to find the gitingore file
// try to find the gitignore file
let gitignore_file_path = crate_dir.join(".gitignore");
let (gitignore, _) = ignore::gitignore::Gitignore::new(gitignore_file_path);