Skip to content

Commit

Permalink
Add await for livesync reload files.
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianDD committed Aug 4, 2017
1 parent c0f7bcf commit a4e0f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/livesync/android-device-livesync-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class AndroidDeviceLiveSyncService extends DeviceLiveSyncServiceBase impl
`${deviceProjectRootDirname}/sync`]
);

this.reloadResources(deviceAppData, localToDevicePaths);
await this.reloadResources(deviceAppData, localToDevicePaths);

const canExecuteFastSync = !liveSyncInfo.isFullSync && !_.some(localToDevicePaths,
(localToDevicePath: Mobile.ILocalToDevicePathData) => !this.canExecuteFastSync(localToDevicePath.getLocalPath(), projectData, this.device.deviceInfo.platform));
Expand Down

0 comments on commit a4e0f11

Please sign in to comment.