mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
fix: cli progress (#2840)
This commit is contained in:
parent
4963aa3118
commit
8e613d3bcc
1 changed files with 3 additions and 3 deletions
|
@ -702,7 +702,7 @@ impl Output {
|
|||
},
|
||||
Line::from(" ").gray(),
|
||||
Line::from(" [/] more").gray(),
|
||||
Line::from(" [r] reload").gray(),
|
||||
Line::from(" [r] rebuild").gray(),
|
||||
Line::from(" [c] clear").gray(),
|
||||
Line::from(" [o] open").gray(),
|
||||
Line::from(" [h] hide").gray(),
|
||||
|
@ -888,8 +888,8 @@ impl ActiveBuild {
|
|||
fn update(&mut self, update: UpdateBuildProgress) {
|
||||
match update.update {
|
||||
UpdateStage::Start => {
|
||||
// If we are already past the stage, don't roll back
|
||||
if self.stage > update.stage {
|
||||
// If we are already past the stage, don't roll back, but allow a fresh build to update.
|
||||
if self.stage > update.stage && self.stage < Stage::Finished {
|
||||
return;
|
||||
}
|
||||
self.stage = update.stage;
|
||||
|
|
Loading…
Reference in a new issue