File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -759,6 +759,15 @@ export class RunController extends EventEmitter implements IRunController {
759
759
// IMPORTANT: keep the same instance as we rely on side effects
760
760
_ . assign ( liveSyncResultInfo , fullLiveSyncResultInfo ) ;
761
761
} ;
762
+ await this . $hooksService . executeBeforeHooks ( "watchAction" , {
763
+ hookArgs : {
764
+ liveSyncResultInfo,
765
+ filesToSync,
766
+ allAppFiles,
767
+ isInHMRMode,
768
+ filesChangedEvent : data ,
769
+ } ,
770
+ } ) ;
762
771
763
772
await this . refreshApplication (
764
773
projectData ,
@@ -786,6 +795,13 @@ export class RunController extends EventEmitter implements IRunController {
786
795
) ;
787
796
}
788
797
}
798
+ await this . $hooksService . executeAfterHooks ( "watchAction" , {
799
+ liveSyncResultInfo,
800
+ filesToSync,
801
+ allAppFiles,
802
+ filesChangedEvent : data ,
803
+ isInHMRMode,
804
+ } ) ;
789
805
790
806
this . $logger . info (
791
807
util . format (
You can’t perform that action at this time.
0 commit comments