We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6cde1 commit 35238a1Copy full SHA for 35238a1
modules/builders/src/ssr-dev-server/index.ts
@@ -103,15 +103,21 @@ export function execute(
103
if (!builderOutput.success) {
104
return of(builderOutput);
105
}
106
+
107
+ let result: Observable<BuilderOutput> | undefined;
108
if (!bsInstance) {
- return from(startBrowserSync(nodeServerPort, options, context.logger)).pipe(
109
+ result = from(startBrowserSync(nodeServerPort, options, context.logger)).pipe(
110
tap(instance => bsInstance = instance),
111
mapTo(builderOutput)
112
);
113
} else {
114
bsInstance.reload();
- return of(builderOutput);
115
+ result = of(builderOutput);
116
117
118
+ context.logger.info('\nCompiled successfully.');
119
120
+ return result;
121
}),
122
catchError(error => of({
123
success: false,
0 commit comments