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
487f28fd
Commit
487f28fd
authored
Aug 08, 2016
by
John McCutchan
Committed by
GitHub
Aug 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Speedup devFS writing and improve status information (#5287)
parent
e3f6d153
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
188 additions
and
69 deletions
+188
-69
devfs.dart
packages/flutter_tools/lib/src/devfs.dart
+183
-65
simulators.dart
packages/flutter_tools/lib/src/ios/simulators.dart
+1
-1
observatory.dart
packages/flutter_tools/lib/src/observatory.dart
+4
-3
No files found.
packages/flutter_tools/lib/src/devfs.dart
View file @
487f28fd
This diff is collapsed.
Click to expand it.
packages/flutter_tools/lib/src/ios/simulators.dart
View file @
487f28fd
...
...
@@ -363,7 +363,7 @@ class IOSSimulator extends Device {
bool
get
supportsHotMode
=>
true
;
@override
bool
get
needsDevFS
=>
fals
e
;
bool
get
needsDevFS
=>
tru
e
;
_IOSSimulatorLogReader
_logReader
;
_IOSSimulatorDevicePortForwarder
_portForwarder
;
...
...
packages/flutter_tools/lib/src/observatory.dart
View file @
487f28fd
...
...
@@ -13,7 +13,7 @@ import 'globals.dart';
// TODO(johnmccutchan): Rename this class to ServiceProtocol or VmService.
class
Observatory
{
Observatory
.
_
(
this
.
peer
,
this
.
port
)
{
Observatory
.
_
(
this
.
peer
,
this
.
port
,
this
.
httpAddress
)
{
peer
.
registerMethod
(
'streamNotify'
,
(
rpc
.
Parameters
event
)
{
_handleStreamNotify
(
event
.
asMap
);
});
...
...
@@ -33,9 +33,10 @@ class Observatory {
WebSocket
ws
=
await
WebSocket
.
connect
(
uri
.
toString
());
rpc
.
Peer
peer
=
new
rpc
.
Peer
(
new
IOWebSocketChannel
(
ws
));
peer
.
listen
();
return
new
Observatory
.
_
(
peer
,
port
);
Uri
httpAddress
=
new
Uri
(
scheme:
'http'
,
host:
'127.0.0.1'
,
port:
port
);
return
new
Observatory
.
_
(
peer
,
port
,
httpAddress
);
}
final
Uri
httpAddress
;
final
rpc
.
Peer
peer
;
final
int
port
;
...
...
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