Search code examples
javascriptnode.jsreactjsnpmnpm-live-server

How to kill the live-server from windows machine using sublime text 3


So I am building a react app using npm, the problem is whenever I start the live-server to update the website automatically for any changes I make in the code, the terminal just freezes and it does not let me type anything. I am opening the terminal on windows 10 on the editor sublime text itself.


Solution

  • If you want to stop running the server (meaning your app will no longer be available on localhost), you should be able to use ctrl+ c to stop any running processes in the current terminal tab.


    When you’re running a server/process in terminal, you’ll need to open a separate tab/window to do anything else.

    You should look at the documentation for the terminal package you’re using in Sublime to find out how to open a new tab, or just use the built-in terminal which definitely supports multiple tabs/windows.