diff --git a/packages/hot-reload/src/lib.rs b/packages/hot-reload/src/lib.rs index 1f6ba7e21..739cbfc55 100644 --- a/packages/hot-reload/src/lib.rs +++ b/packages/hot-reload/src/lib.rs @@ -261,7 +261,9 @@ pub fn init(cfg: Config) { let mut channels = channels.lock().unwrap(); for path in real_paths { // if this file type cannot be hot reloaded, rebuild the application - if path.extension().and_then(|p| p.to_str()) != Some("rs") && rebuild() { + if path.extension().and_then(|p| p.to_str()) != Some("rs") + && rebuild() + { return; } // find changes to the rsx in the file