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

This commit is contained in:
Devon Carew
2018-05-09 17:43:13 -07:00
committed by GitHub
parent a02568b3ca
commit f48dec570c
3 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ void main() {
await reloadEndingText;
await driver.drive('none');
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 =
stdout.stream.firstWhere((String line) => line.contains('Restart performed in '));
print('test: pressing "R" to perform a full reload...');

View File

@@ -151,7 +151,7 @@ class RunCommand extends RunCommandBase {
..addOption('pid-file',
help: 'Specify a file to write the process id to.\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',
negatable: true,

View File

@@ -435,7 +435,7 @@ class HotRunner extends ResidentRunner {
Future<OperationResult> restart({ bool fullRestart: false, bool pauseAfterRestart: false }) async {
if (fullRestart) {
final Status status = logger.startProgress(
'Performing full restart...',
'Performing hot restart...',
progressId: 'hot.restart'
);
try {