Skip to content

Commit 8a94434

Browse files
feat(angular): support angulars vite dev server (#5064)
Modifies how the angular emits that the dev server is ready by including the additional output from the CLI Co-authored-by: Sean Perkins <13732623+sean-perkins@users.noreply.github.com>
1 parent 2e3a5de commit 8a94434

File tree

1 file changed

+5
-2
lines changed
  • packages/@ionic/cli/src/lib/project/angular

1 file changed

+5
-2
lines changed

packages/@ionic/cli/src/lib/project/angular/serve.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,11 @@ export class AngularServeCLI extends ServeCLI<AngularServeOptions> {
173173
}
174174

175175
const strippedLine = stripAnsi(line);
176-
177-
if (strippedLine.includes('Development Server is listening')) {
176+
const compileMsgs = [
177+
'Development Server is listening',
178+
'Watching for file changes'
179+
]
180+
if (compileMsgs.some((msg) => strippedLine.includes(msg))) {
178181
this.emit('ready');
179182
return false;
180183
}

0 commit comments

Comments
 (0)