Skip to content

Commit 99b6472

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. (cherry picked from commit 154c7ce)
1 parent 657a07b commit 99b6472

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
@@ -315,20 +315,20 @@ function handleUpdate(
315315
}),
316316
});
317317

318-
logger.info('HMR update sent to client(s)...');
318+
logger.info('HMR update sent to client(s).');
319319

320320
return;
321321
}
322322
}
323323

324324
// Send reload command to clients
325325
if (serverOptions.liveReload) {
326-
logger.info('Reloading client(s)...');
327-
328326
server.ws.send({
329327
type: 'full-reload',
330328
path: '*',
331329
});
330+
331+
logger.info('Page reload sent to client(s).');
332332
}
333333
}
334334

0 commit comments

Comments
 (0)