From 2b89197e71c30061f2abff9dc6577411dfabbc9f Mon Sep 17 00:00:00 2001 From: hmhealey Date: Mon, 22 Feb 2016 16:30:38 -0500 Subject: Fixed Makefile to properly kill watchify on stop-client --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 126bb75b1..a7c277e4c 100644 --- a/Makefile +++ b/Makefile @@ -308,7 +308,12 @@ stop-client: done @for PID in $$(ps -ef | grep [n]pm | awk '{ print $$2 }'); do \ - echo stopping watchify $$PID; \ + echo stopping client $$PID; \ + kill $$PID; \ + done + + @for PID in $$(ps -ef | grep [w]atchify | awk '{ print $$2 }'); do \ + echo stopping client $$PID; \ kill $$PID; \ done -- cgit v1.2.3-1-g7c22