Closed jrtobac closed 7 years ago
This doesn't sound like an angular-phonecat issue. It is either an http-server or (more likely) a cygwin issue. Closing since there is nothing we can do in angular-phonecat. Please use their respective support channels.
I am on step 0 of the phonecat app tutorial. I am on Windows 10, and using a cygwin console.
When I run npm start, the app starts fine, and I can see the generated angular website at http://localhost:8000/index.html. My console prompts me to hit ctrl-c to stop the server.
When I hit ctrl-c the server appears to stop and my console returns to its normal screen. I even run
ps aux
to be sure that everything stopped running.However, if I navigate back to http://localhost:8000/index.html, I am still able to see the website, and cygwin displays messages as though the server is still running.
Messages from cygwin console:
This is where I hit ctrl-C and the console returns to normal until I navigate to the website again and I get:
The only way that I have been able to effectively shutdown the server is by starting the task manager and stopping cygwin from running.
Why is this happening and how can I successfully shutdown http-server without having to kill cygwin entirely?