diff --git a/lib/services/livesync/platform-livesync-service.ts b/lib/services/livesync/platform-livesync-service.ts index 4eddb60789..edbf878515 100644 --- a/lib/services/livesync/platform-livesync-service.ts +++ b/lib/services/livesync/platform-livesync-service.ts @@ -2,6 +2,7 @@ import syncBatchLib = require("../../common/services/livesync/sync-batch"); import * as path from "path"; import * as minimatch from "minimatch"; import * as util from "util"; +import * as helpers from "../../common/helpers"; const livesyncInfoFileName = ".nslivesyncinfo"; @@ -236,7 +237,7 @@ export abstract class PlatformLiveSyncServiceBase implements IPlatformLiveSyncSe private getLiveSyncInfoFilePath(deviceAppData: Mobile.IDeviceAppData) { let deviceRootPath = path.dirname(deviceAppData.deviceProjectRootPath); - let deviceFilePath = path.join(deviceRootPath, livesyncInfoFileName); + let deviceFilePath = helpers.fromWindowsRelativePathToUnix(path.join(deviceRootPath, livesyncInfoFileName)); return deviceFilePath; }