Created
May 23, 2026 19:20
-
-
Save basilleaf/d28a19162209e469de9d562f1b3d9a7a to your computer and use it in GitHub Desktop.
kill orphaned node dev servers
This file contains hidden or 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
| lsof -iTCP -sTCP:LISTEN -P -n | grep '127.0.0.1\|::1' | grep node | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment