So when I have a project created using create-react-app and I want to see it live, I type
npm start in the terminal. So far so good.
But what is happening when I forget to do ctrl c before shutting the terminal? Does
start or whatever is going on keep running forever? How do I shut it off once I closed the terminal window?
I’m in Windows 10
yes it basically opens a port(3000 for create-react-app) on your device in your localhost (127.0.0.1).
this might help.
So is it just a matter of closing the port, or do I also need to stop a process? If it’s not obvious, I don’t really understand what is going on.
ports opened by npm get closed once you restart your pc and processes related to that may also end
I think I have figured out that it is the
node.js processes running in the task manager. Thanks!!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.