summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2016-02-22 16:30:38 -0500
committerhmhealey <harrisonmhealey@gmail.com>2016-02-22 16:30:38 -0500
commit2b89197e71c30061f2abff9dc6577411dfabbc9f (patch)
tree6ef5ae9f5eb605482e2252ea0e77d30c9415008b /Makefile
parentbc69f2aae0cdc030adbebadd51d388d35e63950f (diff)
downloadchat-2b89197e71c30061f2abff9dc6577411dfabbc9f.tar.gz
chat-2b89197e71c30061f2abff9dc6577411dfabbc9f.tar.bz2
chat-2b89197e71c30061f2abff9dc6577411dfabbc9f.zip
Fixed Makefile to properly kill watchify on stop-client
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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