fix: don't send hot-reload if app is building (#3607)
This commit is contained in:
1 parent
6c907b1c20
commit
024285c548
2 files changed
+9
-4
No files matched your search
@@ -315,4 +315,9 @@ impl Builder {
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
/// Check if the queued build is blocking hotreloads
|
||||
pub(crate) fn can_receive_hotreloads(&self) -> bool {
|
||||
matches!(&self.stage, BuildStage::Success)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user