8000 [fuchsia] Fixes for Fuchsia hot reload by zanderso · Pull Request #16317 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[fuchsia] Fixes for Fuchsia hot reload #16317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2018
Merged

[fuchsia] Fixes for Fuchsia hot reload #16317

merged 1 commit into from
Apr 6, 2018

Conversation

zanderso
Copy link
Member
@zanderso zanderso commented Apr 6, 2018

These fixes will be needed after FL-39 is resolved

@@ -421,10 +431,14 @@ class _PortForwarder {
return new _PortForwarder._(null, 0, 0, null, null);
}
final List<String> command = <String>[
'ssh', '-F', sshConfig, '-nNT',
'ssh', '-F', sshConfig, '-nNT', '-vvv',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to invoke ssh with -vvv here and below, or is this just left over from testing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I left them in intentionally. There is only a little extra output per tunnel, and it will only be seen when passing -v to the flutter tool.

final List<_PortForwarder> forwarders = <_PortForwarder>[];
for (int port in remotePorts) {
final _PortForwarder f =
await _PortForwarder.start(config, _address, port);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider accumulating futures and using Future.wait for the result so the tunnels can start in parallel.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving a good spot to await a Future.delayed() to make it easier to hack around FL-39.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, sgtm.

@zanderso zanderso merged commit d6d8744 into flutter:master Apr 6, 2018
@zanderso zanderso deleted the fuchsia-fixes branch April 6, 2018 20:23
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0