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
5a9b8b77
Commit
5a9b8b77
authored
Oct 24, 2016
by
Jason Simmons
Committed by
GitHub
Oct 24, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not print the output of the package dependency tool during hot reload (#6494)
parent
d17e80ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
process.dart
packages/flutter_tools/lib/src/base/process.dart
+7
-4
hot.dart
packages/flutter_tools/lib/src/hot.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/base/process.dart
View file @
5a9b8b77
...
...
@@ -151,14 +151,16 @@ bool exitsHappy(List<String> cli) {
/// Throws an error if cmd exits with a non-zero value.
String
runCheckedSync
(
List
<
String
>
cmd
,
{
String
workingDirectory
,
bool
allowReentrantFlutter:
false
bool
allowReentrantFlutter:
false
,
bool
hideStdout:
false
,
})
{
return
_runWithLoggingSync
(
cmd
,
workingDirectory:
workingDirectory
,
allowReentrantFlutter:
allowReentrantFlutter
,
hideStdout:
hideStdout
,
checked:
true
,
noisyErrors:
true
noisyErrors:
true
,
);
}
...
...
@@ -186,7 +188,8 @@ String _runWithLoggingSync(List<String> cmd, {
bool
checked:
false
,
bool
noisyErrors:
false
,
String
workingDirectory
,
bool
allowReentrantFlutter:
false
bool
allowReentrantFlutter:
false
,
bool
hideStdout:
false
,
})
{
_traceCommand
(
cmd
,
workingDirectory:
workingDirectory
);
ProcessResult
results
=
Process
.
runSync
(
...
...
@@ -198,7 +201,7 @@ String _runWithLoggingSync(List<String> cmd, {
printTrace
(
'Exit code
${results.exitCode}
from:
${cmd.join(' ')}
'
);
if
(
results
.
stdout
.
isNotEmpty
)
{
if
(
results
.
stdout
.
isNotEmpty
&&
!
hideStdout
)
{
if
(
results
.
exitCode
!=
0
&&
noisyErrors
)
printStatus
(
results
.
stdout
.
trim
());
else
...
...
packages/flutter_tools/lib/src/hot.dart
View file @
5a9b8b77
...
...
@@ -57,7 +57,7 @@ class StartupDependencySetBuilder {
String
output
;
try
{
output
=
runCheckedSync
(
args
);
output
=
runCheckedSync
(
args
,
hideStdout:
true
);
}
catch
(
e
)
{
return
null
;
}
...
...
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