Skip to content

Commit 41d18e9

Browse files
authored
Merge pull request #1994 from NativeScript/raikov/fix-livesync-debug-android-wrong-files
Fixed: livesync + debug syncs wrong files on Android
2 parents 6f13402 + a92cccd commit 41d18e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/android-debug-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class AndroidDebugService implements IDebugService {
171171

172172
private startAppWithDebugger(packageFile: string, packageName: string): IFuture<void> {
173173
return (() => {
174-
if (!this.$options.emulator) {
174+
if (!this.$options.emulator && !this.$config.debugLivesync) {
175175
this.device.applicationManager.uninstallApplication(packageName).wait();
176176
this.device.applicationManager.installApplication(packageFile).wait();
177177
}

0 commit comments

Comments
 (0)