Skip to content

A proper fix for all Ctrl+C issues #2064

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
Sep 19, 2016
Merged

A proper fix for all Ctrl+C issues #2064

merged 1 commit into from
Sep 19, 2016

Conversation

tzraikov
Copy link
Contributor

@tzraikov tzraikov commented Sep 17, 2016

tns run ios - on device
tns livesync ios --watch
tns debug --watch
.. etc

Depends on:
telerik/mobile-cli-lib#807

@tzraikov tzraikov force-pushed the raikov/ctrl-c branch 2 times, most recently from 1da83d1 to 188041d Compare September 17, 2016 13:21
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

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

Only a small suggestion for improvement, but not a merge stopper.

}).future<void>()();
}

private wireDebuggerClient(factory: () => net.Socket): IFuture<void> {
private wireDebuggerClient(device: Mobile.IiOSDevice): IFuture<void> {
Copy link
Contributor

Choose a reason for hiding this comment

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

You can make the device argument not mandatory

private wireDebuggerClient(device?: Mobile.IiOSDevice): IFuture<void> {

This way you will not have to pass null when calling the method without device.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@tzraikov tzraikov merged commit 3aa3f2b into master Sep 19, 2016
@tzraikov tzraikov deleted the raikov/ctrl-c branch September 19, 2016 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants