Using angular-cli with the ng serve command, how can I specify a default port so I do not need to manually pass the --port flag every time?
ng serve
--port
You can now specify the port in the .angular-cli.json under the defaults:
"defaults": { "styleExt": "scss", "serve": { "port": 8080 }, "component": {} }
Tested in angular-cli v1.0.6