Last active
December 17, 2020 00:42
-
-
Save bboydflo/89d0630cd242904ed9e6aae9a296e8b1 to your computer and use it in GitHub Desktop.
[Kill node processes] useful in development when we need to all processes of a parent process #nodejs #webdev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
killall -9 node | |
## or | |
# ps aux | grep node | |
## then | |
# kill -9 [pid] | |
# https://tecadmin.net/kill-process-on-specific-port/ | |
sudo kill -9 $(sudo lsof -t -i:3000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment