-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng serve proper way to stop how in ubuntu #8734
Comments
Terminating the process is the generally accepted method to stop the development server. This may be OS related. |
@sambanthar You have to check if something is running on your port 4200. |
if i use ctrl + c in a windows machine its ask me to terminate yes / no. but in ubuntu machine i use it ctrl + c its nothing ask nothing show . but i use ng serve 4200 is already in use. what i am asking very simple i use ng serve -o to run the development server how to stop serving |
What you are doing is appropriate to stop the development server. |
webpack: Compiled successfully. webpack: Compiled successfully. If you use Ctrl+Z in Mac you will have ´Port 4200 is already in use. Use '--port' to specify a different port.´later. |
@caviroski this is the same issue i am facing in ubuntu machine |
@clydin I have the same issue, I've installed angular-cli, created a new project and every time I run Pstree shows this while server is running:
after File watcher is still watching files and if I save one I get (in the previous shell):
I'm using OSX 10.13.3 and Node 9.5.0, angular-cli 1.7.0 Let me know if you need further debugging and ore something else UPDATE: nvm just seen #9647 |
We have discovered the same issue after some recent angular cli or related depdency upgrade. I vote for reopening this issue. We can for sure say that the |
I've discovered some more... when I call Again, this used to work previously and now it doesn't anymore. |
After Ctrl+C, |
On CentOS, pkill -9 ng should be the apt way I suppose. |
They should have something like |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
even i use ctrl + c its terminated but still 4200 is running port.
Port 4200 is already in use. Use '--port' to specify a different port.
The text was updated successfully, but these errors were encountered: