angular - Set default host and port for ng serve in config file -


i want know if can set host , port in config file don't have type

ng serve --host foo.bar --port 80 

instead of just

ng serve 

as of recent versions of angular cli (v1.0.0-rc.0 @ least perhaps earlier) can set these directly in angular-cli.json underneath defaults element:

{   "defaults": {     "serve": {       "port": 4444,       "host": "10.1.2.3"     }   } } 

Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -