Skip to content

Conversation

@rosen-vladimirov
Copy link
Contributor

When you try to livesync on multiple devices and application is not installed on more than one, calling tns livesync <platform> installs the application only on one of them.
There's warning in the output that the application is not installed for each of the devices, but it is installed only on one of them.
The problem is the current logic that is executed for each device - as we want to build only one, in case the app is already built, we've skipped the install part for all devices except the first one.
So we have to build once, but install the built package on all devices where the app does not exist.

Fixes #1503

@Mitko-Kerezov
Copy link
Contributor

👍

When you try to livesync on multiple devices and application is not installed on more than one, calling `tns livesync <platform>` installs the application only on one of them.
There's warning in the output that the application is not installed for each of the devices, but it is installed only on one of them.
The problem is the current logic that is executed for each device - as we want to build only one, in case the app is already built, we've skipped the install part for all devices except the first one.
So we have to build once, but install the built package on all devices where the app does not exist.
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/fix-ls-not-installed-multi-devices branch from 29dffbc to 97bee03 Compare February 18, 2016 07:57
rosen-vladimirov added a commit that referenced this pull request Feb 18, 2016
…alled-multi-devices

Fix livesync on multiple devices when app is not installed
@rosen-vladimirov rosen-vladimirov merged commit b20299f into release Feb 18, 2016
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-ls-not-installed-multi-devices branch February 18, 2016 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants