Created
January 19, 2019 17:42
-
-
Save misostack/356baa3ebd41d176cd741b32960baa3f to your computer and use it in GitHub Desktop.
ng serve --help
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
$ ng serve --help | |
Builds and serves your app, rebuilding on file changes. | |
usage: ng serve <project> [options] | |
arguments: | |
project | |
The name of the project to build. Can be an app or a library. | |
options: | |
--aot | |
Build using Ahead of Time compilation. | |
--base-href | |
Base url for the application being built. | |
--browser-target | |
Target to serve. | |
--common-chunk | |
Use a separate bundle containing code used across multiple bundles. | |
--configuration (-c) | |
A named build target, as specified in the "configurations" section of angular.json. | |
Each named target is accompanied by a configuration of option defaults for that target. | |
--deploy-url | |
URL where files will be deployed. | |
--disable-host-check | |
Don't verify connected clients are part of allowed hosts. | |
--eval-source-map | |
Output in-file eval sourcemaps. | |
--help | |
Shows a help message for this command in the console. | |
--hmr | |
Enable hot module replacement. | |
--hmr-warning | |
Show a warning when the --hmr option is enabled. | |
--host | |
Host to listen on. | |
--live-reload | |
Whether to reload the page on change, using live-reload. | |
--open (-o) | |
Opens the url in default browser. | |
--optimization | |
Enables optimization of the build output. | |
--poll | |
Enable and define the file watching poll time period in milliseconds. | |
--port | |
Port to listen on. | |
--prod | |
When true, sets the build configuration to the production target. | |
All builds make use of bundling and limited tree-shaking. A production build also runs limited dead code elimination. | |
--progress | |
Log progress to the console while building. | |
--proxy-config | |
Proxy configuration file. | |
--public-host | |
Specify the URL that the browser client will use. | |
--serve-path | |
The pathname where the app will be served. | |
--serve-path-default-warning | |
Show a warning when deploy-url/base-href use unsupported serve path values. | |
--source-map | |
Output sourcemaps. | |
--ssl | |
Serve using HTTPS. | |
--ssl-cert | |
SSL certificate to use for serving HTTPS. | |
--ssl-key | |
SSL key to use for serving HTTPS. | |
--vendor-chunk | |
Use a separate bundle containing only vendor libraries. | |
--vendor-source-map | |
Resolve vendor packages sourcemaps. | |
--verbose | |
Adds more details to output logging. | |
--watch | |
Rebuild on change. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment