Kill Node

When I am developing a node app I run both client and server in a seperate terminal with tmux. The node service does not exit when I close the terminal so I must check if it is running and kill it before starting a new one.