Unable to use CLI / command line after ng service

I realized that every time I start the ng service, I can no longer use the command line. This means - this does not allow new teams. What is the reason and how can I fix it? This means, say, I want to create a new service / component from the CLI instead of writing it, it does not allow new commands. He writes: webpack: compiled successfully. and then you cannot enter new commands

thank

+4
source share
1 answer

When you use ng serve, you create a local development server on a shell instance that listens for requests. While this server is running, you cannot use this shell instance because it is busy listening to HTTP requests.

The solution is to open a new tab or terminal window and execute terminal commands from an instance of the shell.

+4
source

Source: https://habr.com/ru/post/1691838/