mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
When using the `application` or `browser-esbuild` builders with the `dev-server`, interactive key shortcuts are now available to use while the server is active. Once the build has successfully completed and the development server has initialized, typing a single letter key followed by enter will execute the associated action. These actions include forcing a browser full reload, clearing the console, or quitting. More actions may be added in the future. The following actions are currently available: ``` press r + enter to force reload browser press u + enter to show server url press o + enter to open in browser press c + enter to clear console press q + enter to quit ``` The `h` action is also available which will display the above list at runtime.
@angular-devkit/build-angular
This package contains Architect builders used to build and test Angular applications and libraries.
Builders
Name | Description |
---|---|
application | Build an Angular application targeting a browser and server environment using esbuild. |
app-shell | Build an Angular App shell. |
browser | Build an Angular application targeting a browser environment using Webpack. |
browser-esbuild | Build an Angular application targeting a browser environment using esbuild. |
dev-server | A development server that provides live reloading. |
extract-i18n | Extract i18n messages from an Angular application. |
karma | Execute unit tests using Karma test runner. |
ng-packagr | Build and package an Angular library in Angular Package Format (APF) format using ng-packagr. |
prerender | Prerender pages of your application. Prerendering is the process where a dynamic page is processed at build time generating static HTML. |
server | Build an Angular application targeting a Node.js environment. |
ssr-dev-server | A development server which offers live reload during development, but uses server-side rendering. |
protractor | Deprecated - Run end-to-end tests using Protractor framework. |
Disclaimer
While the builders when executed via the Angular CLI and their associated options are considered stable, the programmatic APIs are not considered officially supported and are not subject to the breaking change guarantees of SemVer.