Skip to content

Commit

Permalink
fix wds progress line display in dev admin
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Jan 4, 2021
1 parent ac0313a commit 483762e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/xarc-app-dev/src/lib/dev-admin/admin-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,13 @@ ${proxyItem}<magenta>M</> - Show this menu <magenta>Q</> - Shutdown
}
} else if (line.includes("webpack bundle is now")) {
isNowMsg = line;
setupCompletion();
if (progLine.includes("100%")) {
// the 100% progress line already received, so just setup timer
// to complete the final status message
setupCompletion();
} else {
this.updateStatus(line);
}
} else {
this._io.show(this._wds + line.replace(cwdRegex, "."));
}
Expand Down

0 comments on commit 483762e

Please sign in to comment.