Unverified Commit b21d0de0 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Revert "Add explicit completed status trace to hot reload and restart commands" (#23445)

* Revert "Remove duplicate code comment in flutter_gallery (#23422)"

This reverts commit 8039620b.

* Revert "Add explicit completed status trace to hot reload and restart commands (#23338)"

This reverts commit 245ef023.
parent 8039620b
......@@ -517,8 +517,7 @@ class HotRunner extends ResidentRunner {
} finally {
status.cancel();
}
printStatus(' Restarted application in ${getElapsedAsMilliseconds(timer.elapsed)}.');
printStatus('Hot restart completed.');
printStatus('Restarted application in ${getElapsedAsMilliseconds(timer.elapsed)}.');
return OperationResult.ok;
} else {
final bool reloadOnTopOfSnapshot = _runningFromSnapshot;
......@@ -533,13 +532,10 @@ class HotRunner extends ResidentRunner {
} finally {
status.cancel();
}
if (result.isOk) {
printStatus(' ${result.message} in ${getElapsedAsMilliseconds(timer.elapsed)}.');
}
if (result.hintMessage != null) {
printStatus('\n ${result.hintMessage}');
}
printStatus('Hot reload completed.');
if (result.isOk)
printStatus('${result.message} in ${getElapsedAsMilliseconds(timer.elapsed)}.');
if (result.hintMessage != null)
printStatus('\n${result.hintMessage}');
return result;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment