[Feature Request] Log ng serve url
See original GitHub issueRight now when angular cli version 1.1.0 runs ng serve the following is output:
Time: 100000,00000,00000,00000,0000000000107...ms ( You may want to look into cryogenics...)
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 158 kB {4} [initial] [rendered]
chunk {1} main.bundle.js, main.bundle.js.map (main) 5.29 kB {3} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 10.5 kB {4} [initial] [rendered]
chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.11 MB [initial] [rendered]
chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.
There no mention of where the app has been launced. Usually there’s something that we can right click on to open a tab:
Now running on http://localhost:4200/
Angular Loves You!!
We need the love!!
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
ng serve - Angular
Option Description Value Type Default Value
‑‑hmr Enable hot module replacement. boolean false
‑‑host Host to listen on. string localhost
‑‑open Opens the url in default...
Read more >ng serve should select another port if 4200 is already ... - GitHub
Normally I would just switch to another port but we are using json webtokens and Identity Server for login so the local url...
Read more >How can I get my app (running via ng serve) to connect to a ...
I already have my REST API Node server up and running. I would like to be able to run my front-end with ng...
Read more >Use Angular with ASP.NET Core | Microsoft Learn
Create a new app · Add pages, images, styles, and modules · Run ng commands · Install npm packages · Publish and deploy...
Read more >The Complete Guide to Angular User Authentication with Auth0
When you use Auth0, you delegate the authentication process to a centralized service. Auth0 provides you with functionality to log in and log...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh I know what’s happening… it’s related to your console, I think. That progress % should be a single line, not a thousand. Not all console support single line updates though. We have an option to disable it:
--no-progress. That should give you the output you’re looking for.You are right. This is what’s happening. The first time
ng serveruns it first prints the ng serve url, and then lots of information about what it’s initializing, and finally summary information like `webpack: Compiled successfully.Can we move the log statement for the startup so that it’s the last thing printed. This way we see:
Right now this is what it looks like for me (This may appear OK, because the initialization output does not have any newline characters, but it’s actually very long - scroll across to see all initialization output):