Skip to content

Commit e0aa429

Browse files
committed
Merge pull request #1141 from NativeScript/sd/watch-hook
execute "before-watch" hook when executing "livesync --watch"
2 parents 59c35d5 + 8357d2e commit e0aa429

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/services/usb-livesync-service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@ export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncSer
2727
$dispatcher: IFutureDispatcher,
2828
$childProcess: IChildProcess,
2929
$iOSEmulatorServices: Mobile.IiOSSimulatorService,
30+
$hooksService: IHooksService,
3031
private $devicePlatformsConstants: Mobile.IDevicePlatformsConstants,
3132
private $projectDataService: IProjectDataService,
3233
private $prompter: IPrompter,
3334
$hostInfo: IHostInfo) {
3435
super($devicesService, $mobileHelper, $localToDevicePathDataFactory, $logger, $options,
35-
$deviceAppDataFactory, $fs, $dispatcher, $injector, $childProcess, $iOSEmulatorServices, $hostInfo);
36+
$deviceAppDataFactory, $fs, $dispatcher, $injector, $childProcess, $iOSEmulatorServices,
37+
$hooksService, $hostInfo);
3638
}
3739

3840
public liveSync(platform: string): IFuture<void> {

0 commit comments

Comments
 (0)