Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
f48dec57
Unverified
Commit
f48dec57
authored
May 10, 2018
by
Devon Carew
Committed by
GitHub
May 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename 'full restart' to 'hot restart' (#17408)
parent
a02568b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
commands_test.dart
dev/devicelab/bin/tasks/commands_test.dart
+1
-1
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+1
-1
run_hot.dart
packages/flutter_tools/lib/src/run_hot.dart
+1
-1
No files found.
dev/devicelab/bin/tasks/commands_test.dart
View file @
f48dec57
...
...
@@ -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...'
);
...
...
packages/flutter_tools/lib/src/commands/run.dart
View file @
f48dec57
...
...
@@ -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
,
...
...
packages/flutter_tools/lib/src/run_hot.dart
View file @
f48dec57
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment