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
2f737cf9
Commit
2f737cf9
authored
May 11, 2017
by
Devon Carew
Committed by
GitHub
May 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change a printStatus() to a printTrace() (#9992)
parent
2f590ecc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
run_hot.dart
packages/flutter_tools/lib/src/run_hot.dart
+4
-4
flutter_command_runner.dart
.../flutter_tools/lib/src/runner/flutter_command_runner.dart
+3
-4
No files found.
packages/flutter_tools/lib/src/run_hot.dart
View file @
2f737cf9
...
...
@@ -375,7 +375,7 @@ class HotRunner extends ResidentRunner {
await
_restartFromSources
();
timer
.
stop
();
status
.
cancel
();
printStatus
(
'Restarted app in
${getElapsedAs
S
econds(timer.elapsed)}
.'
);
printStatus
(
'Restarted app in
${getElapsedAs
Millis
econds(timer.elapsed)}
.'
);
return
OperationResult
.
ok
;
}
catch
(
error
)
{
status
.
cancel
();
...
...
@@ -412,7 +412,7 @@ class HotRunner extends ResidentRunner {
}
if
(!
_isPaused
())
{
print
Status
(
'Refreshing active FlutterViews before reloading.'
);
print
Trace
(
'Refreshing active FlutterViews before reloading.'
);
await
refreshViews
();
}
...
...
@@ -528,8 +528,8 @@ class HotRunner extends ResidentRunner {
await
view
.
uiIsolate
.
flutterReassemble
();
}
on
TimeoutException
{
reassembleTimedOut
=
true
;
printTrace
(
"Reassembling
${view.uiIsolate.name}
took too long.
"
);
printStatus
(
"Hot reloading
${view.uiIsolate.name}
took too long
. Hot
reload may have failed."
);
printTrace
(
"Reassembling
${view.uiIsolate.name}
took too long."
);
printStatus
(
"Hot reloading
${view.uiIsolate.name}
took too long
; the
reload may have failed."
);
continue
;
}
catch
(
error
)
{
reassembleAndScheduleErrors
=
true
;
...
...
packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
View file @
2f737cf9
...
...
@@ -37,14 +37,13 @@ class FlutterCommandRunner extends CommandRunner<Null> {
'flutter'
,
'Manage your Flutter app development.
\n
'
'
\n
'
'Common
action
s:
\n
'
'Common
command
s:
\n
'
'
\n
'
' flutter create <output directory>
\n
'
' Create a new Flutter project in the specified directory.
\n
'
'
\n
'
' flutter run [options]
\n
'
' Run your Flutter application on an attached device
\n
'
' or in an emulator.'
,
' Run your Flutter application on an attached device or in an emulator.'
,
)
{
argParser
.
addFlag
(
'verbose'
,
abbr:
'v'
,
...
...
@@ -72,7 +71,7 @@ class FlutterCommandRunner extends CommandRunner<Null> {
negatable:
false
,
help:
'Captures a bug report file to submit to the Flutter team '
'(contains local paths, device
identifiers, and log snippets).'
);
'(contains local paths, device
\n
identifiers, and log snippets).'
);
String
packagesHelp
;
if
(
fs
.
isFileSync
(
kPackagesFileName
))
...
...
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