question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better CLI feedback for e.g. ng serve.

See original GitHub issue

🚀 Improvement / Bug report / Feature request.

Command

Description

Just a small request: ng serve (and maybe all other commands) should print some text instantly after the command is executed.

demo

You can see that after enter ng serve there is a long waiting time without any response. Appears to be dead. Annoying. I would prefer an initial message directly after the command was entered. Something like:

ng serve
Builds and serves your app, rebuilding on file changes.
[-] Generating browser bla bla ...

This text comes from the docs. But we could also just print: Preparing... or the joke of the day. Seriously, no response feedback on command execution feels weird and seems to be frozen.

Maybe this should be implemented on all commands?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
alan-agius4commented, May 26, 2021

@infacto, I didn’t realise it was an animated GIF 😅

I have some ideas in mind which I am hoping to explore soon to tackle this issue.

1reaction
eneajahocommented, May 26, 2021

What @infacto is trying to say is that there is a delay between the time we execute ng serve and the first text shown on the terminal that something is being generated. (env: Windows)

Read more comments on GitHub >

github_iconTop 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 >
My three favourite ng serve options in Angular - YouTube
Ng serve is one of the most used CLI commands. In starts a dev server and serves our application. In this video I...
Read more >
Angular cli ng serve options - YouTube
In this video we will discuss some of the common options that we can use with ng serve command. To see the list...
Read more >
webpack - Angular CLI - why does <ng serve> bundle better ...
Great question if it's really so (I am going to try it). Is it possible that ng serve holds something in memory or...
Read more >
Angular CLI — Useful Commands - Level Up Coding
ng serve -p 666 -o => Builds your entire project and automatically opens the browser with the url pointing to port 666. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found