Skip to content

Commit 154c7ce

Browse files
clydinalan-agius4
authored andcommitted
refactor(@angular-devkit/build-angular): adjust wording of dev server client status messages
To minimize ambiguity, the update related log messages for the development server now consistently indicate that the page reload, HMR update, or otherwise has actually been sent to any connected clients.
1 parent 8a76b29 commit 154c7ce

File tree

1 file changed

+3
-3
lines changed
  • packages/angular_devkit/build_angular/src/builders/dev-server

1 file changed

+3
-3
lines changed

packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,20 +322,20 @@ function handleUpdate(
322322
}),
323323
});
324324

325-
logger.info('HMR update sent to client(s)...');
325+
logger.info('HMR update sent to client(s).');
326326

327327
return;
328328
}
329329
}
330330

331331
// Send reload command to clients
332332
if (serverOptions.liveReload) {
333-
logger.info('Reloading client(s)...');
334-
335333
server.ws.send({
336334
type: 'full-reload',
337335
path: '*',
338336
});
337+
338+
logger.info('Page reload sent to client(s).');
339339
}
340340
}
341341

0 commit comments

Comments
 (0)