-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@angular-devkit/build-angular): avoid dev server update analysis …
…when build fails with vite When using an esbuild-based builder (`application` or `browser-esbuild`) with the development server, a build that fails due to an TypeScript, Angular, or bundling error will now skip all output file result processing. This avoids unnecessary work since an update of the client code will not take place. This also allows for an error overlay to be displayed showing the first error available. The full list of errors will still be shown in the console used to execute the `ng serve` command. Fixing the error will automatically clear the error overlay but if there were multiple errors the next unfixed error will be shown instead. (cherry picked from commit 08c1229)
- Loading branch information
1 parent
6bed286
commit 657f782
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters