Skip to content

Commit 19707e8

Browse files
committed
Fix livesync with platform specific files
See #811
1 parent 0debe12 commit 19707e8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/services/usb-livesync-service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncSer
8585
let beforeBatchLiveSyncAction = (filePath: string): IFuture<string> => {
8686
return (() => {
8787
this.$platformService.preparePlatform(platform).wait();
88-
return path.join(projectFilesPath, path.relative(path.join(this.$projectData.projectDir, constants.APP_FOLDER_NAME), filePath));
88+
let projectFileInfo = this.getProjectFileInfo(filePath);
89+
return path.join(projectFilesPath, path.relative(path.join(this.$projectData.projectDir, constants.APP_FOLDER_NAME), projectFileInfo.onDeviceName));
8990
}).future<string>()();
9091
};
9192

0 commit comments

Comments
 (0)