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
245ef023
Unverified
Commit
245ef023
authored
Oct 24, 2018
by
Jonah Williams
Committed by
GitHub
Oct 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add explicit completed status trace to hot reload and restart commands (#23338)
parent
55fe15bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
run_hot.dart
packages/flutter_tools/lib/src/run_hot.dart
+9
-5
No files found.
packages/flutter_tools/lib/src/run_hot.dart
View file @
245ef023
...
...
@@ -517,7 +517,8 @@ class HotRunner extends ResidentRunner {
}
finally
{
status
.
cancel
();
}
printStatus
(
'Restarted application in
${getElapsedAsMilliseconds(timer.elapsed)}
.'
);
printStatus
(
' Restarted application in
${getElapsedAsMilliseconds(timer.elapsed)}
.'
);
printStatus
(
'Hot restart completed.'
);
return
OperationResult
.
ok
;
}
else
{
final
bool
reloadOnTopOfSnapshot
=
_runningFromSnapshot
;
...
...
@@ -532,10 +533,13 @@ class HotRunner extends ResidentRunner {
}
finally
{
status
.
cancel
();
}
if
(
result
.
isOk
)
printStatus
(
'
${result.message}
in
${getElapsedAsMilliseconds(timer.elapsed)}
.'
);
if
(
result
.
hintMessage
!=
null
)
printStatus
(
'
\n
${result.hintMessage}
'
);
if
(
result
.
isOk
)
{
printStatus
(
'
${result.message}
in
${getElapsedAsMilliseconds(timer.elapsed)}
.'
);
}
if
(
result
.
hintMessage
!=
null
)
{
printStatus
(
'
\n
${result.hintMessage}
'
);
}
printStatus
(
'Hot reload completed.'
);
return
result
;
}
}
...
...
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