diff --git a/packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts b/packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts index 7afd7246a1b8..b7558f8f7c9b 100644 --- a/packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts +++ b/packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts @@ -151,6 +151,7 @@ export async function* serveWithVite( } continue; } else if (hadError && server) { + hadError = false; // Send an empty update to clear the error overlay server.ws.send({ 'type': 'update',