File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
modules/builders/src/ssr-dev-server Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -103,15 +103,21 @@ export function execute(
103103 if ( ! builderOutput . success ) {
104104 return of ( builderOutput ) ;
105105 }
106+
107+ let result : Observable < BuilderOutput > | undefined ;
106108 if ( ! bsInstance ) {
107- return from ( startBrowserSync ( nodeServerPort , options , context . logger ) ) . pipe (
109+ result = from ( startBrowserSync ( nodeServerPort , options , context . logger ) ) . pipe (
108110 tap ( instance => bsInstance = instance ) ,
109111 mapTo ( builderOutput )
110112 ) ;
111113 } else {
112114 bsInstance . reload ( ) ;
113- return of ( builderOutput ) ;
115+ result = of ( builderOutput ) ;
114116 }
117+
118+ context . logger . info ( '\nCompiled successfully.' ) ;
119+
120+ return result ;
115121 } ) ,
116122 catchError ( error => of ( {
117123 success : false ,
You can’t perform that action at this time.
0 commit comments