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 { ...@@ -517,8 +517,7 @@ class HotRunner extends ResidentRunner {
} finally { } finally {
status.cancel(); status.cancel();
} }
printStatus(' Restarted application in ${getElapsedAsMilliseconds(timer.elapsed)}.'); printStatus('Restarted application in ${getElapsedAsMilliseconds(timer.elapsed)}.');
printStatus('Hot restart completed.');
return OperationResult.ok; return OperationResult.ok;
} else { } else {
final bool reloadOnTopOfSnapshot = _runningFromSnapshot; final bool reloadOnTopOfSnapshot = _runningFromSnapshot;
...@@ -533,13 +532,10 @@ class HotRunner extends ResidentRunner { ...@@ -533,13 +532,10 @@ class HotRunner extends ResidentRunner {
} finally { } finally {
status.cancel(); status.cancel();
} }
if (result.isOk) { if (result.isOk)
printStatus(' ${result.message} in ${getElapsedAsMilliseconds(timer.elapsed)}.'); printStatus('${result.message} in ${getElapsedAsMilliseconds(timer.elapsed)}.');
} if (result.hintMessage != null)
if (result.hintMessage != null) { printStatus('\n${result.hintMessage}');
printStatus('\n ${result.hintMessage}');
}
printStatus('Hot reload completed.');
return result; 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