I started writing applescripts to automate some server setup processes. One drawback is that these processes don’t show up in terminal so its hard to kill them later on when you’ve stopped using the service.
In this case I’m talking about running an apple script to start a node server. I’m gonna keep this short and to the point. If you have an errant node process running in the background and can’t find it on your mac do this in your terminal:
ps aux | grep node
It will tell you what processes it found running node. Then you need to kill them off by killing the process id (pid).
sudo kill -9 PID
Where “PID” is a number that represents a process id.
That’s all I have time for, sorry I haven’t been posting but I’ve been super slammed at work.
Thanks it is helpful post