diff --git a/packages/flutter_tools/lib/src/run.dart b/packages/flutter_tools/lib/src/run.dart index 60e8be05226..aff9ea43850 100644 --- a/packages/flutter_tools/lib/src/run.dart +++ b/packages/flutter_tools/lib/src/run.dart @@ -261,7 +261,8 @@ class RunAndStayResident extends ResidentRunner { @override void printHelp() { - String restartText = device.supportsRestart ? ', "r" or F5 to restart the app,' : ''; + final bool showRestartText = !prebuiltMode && device.supportsRestart; + String restartText = showRestartText ? ', "r" or F5 to restart the app,' : ''; printStatus('Type "h" or F1 for help$restartText and "q", F10, or ctrl-c to quit.'); printStatus('Type "w" to print the widget hierarchy of the app, and "t" for the render tree.'); }