Unverified Commit f48dec57 authored by Devon Carew's avatar Devon Carew Committed by GitHub

rename 'full restart' to 'hot restart' (#17408)

parent a02568b3
...@@ -81,7 +81,7 @@ void main() { ...@@ -81,7 +81,7 @@ void main() {
await reloadEndingText; await reloadEndingText;
await driver.drive('none'); await driver.drive('none');
final Future<String> restartStartingText = final Future<String> restartStartingText =
stdout.stream.firstWhere((String line) => line.endsWith('full restart...')); stdout.stream.firstWhere((String line) => line.endsWith('hot restart...'));
final Future<String> restartEndingText = final Future<String> restartEndingText =
stdout.stream.firstWhere((String line) => line.contains('Restart performed in ')); stdout.stream.firstWhere((String line) => line.contains('Restart performed in '));
print('test: pressing "R" to perform a full reload...'); print('test: pressing "R" to perform a full reload...');
......
...@@ -151,7 +151,7 @@ class RunCommand extends RunCommandBase { ...@@ -151,7 +151,7 @@ class RunCommand extends RunCommandBase {
..addOption('pid-file', ..addOption('pid-file',
help: 'Specify a file to write the process id to.\n' help: 'Specify a file to write the process id to.\n'
'You can send SIGUSR1 to trigger a hot reload\n' 'You can send SIGUSR1 to trigger a hot reload\n'
'and SIGUSR2 to trigger a full restart.', 'and SIGUSR2 to trigger a hot restart.',
) )
..addFlag('resident', ..addFlag('resident',
negatable: true, negatable: true,
......
...@@ -435,7 +435,7 @@ class HotRunner extends ResidentRunner { ...@@ -435,7 +435,7 @@ class HotRunner extends ResidentRunner {
Future<OperationResult> restart({ bool fullRestart: false, bool pauseAfterRestart: false }) async { Future<OperationResult> restart({ bool fullRestart: false, bool pauseAfterRestart: false }) async {
if (fullRestart) { if (fullRestart) {
final Status status = logger.startProgress( final Status status = logger.startProgress(
'Performing full restart...', 'Performing hot restart...',
progressId: 'hot.restart' progressId: 'hot.restart'
); );
try { try {
......
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