To create a new project ng new [project-name]
which initializes git.Install packages for tooling via npm. It creates the project successfully.
cd [project-name]
and execute either npm start
or ng serve
It'll run the server in the given default port.
Application will refresh according to the changes made in the directory. The default HTTP port and the one used by the LiveReload server can be changed using below command
ng serve --host 0.0.0.0 --port 4201 --live-reload-port 49153