rename 'full restart' to 'hot restart' (#17408)
This commit is contained in:
@@ -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...');
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user