summaryrefslogtreecommitdiffstats
path: root/webapp/Makefile
diff options
context:
space:
mode:
authorJared Shields <shieldsjared@gmail.com>2016-10-04 08:56:01 -0400
committerChristopher Speller <crspeller@gmail.com>2016-10-04 08:56:01 -0400
commit3bac3a006128ebcb4a6ea6dd5e2aa2f8614cb434 (patch)
treec63b2ea94d2de3463137c91d40bc405452637039 /webapp/Makefile
parent1a5a6244701615b4f085bb5337d92c2809ac95d3 (diff)
downloadchat-3bac3a006128ebcb4a6ea6dd5e2aa2f8614cb434.tar.gz
chat-3bac3a006128ebcb4a6ea6dd5e2aa2f8614cb434.tar.bz2
chat-3bac3a006128ebcb4a6ea6dd5e2aa2f8614cb434.zip
Updated make files/scripts to accomodate execution/building in windows in addition to linux/mac (#4135)
Diffstat (limited to 'webapp/Makefile')
-rw-r--r--webapp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/Makefile b/webapp/Makefile
index 10712deff..5e117989d 100644
--- a/webapp/Makefile
+++ b/webapp/Makefile
@@ -37,10 +37,14 @@ run-fullmap: .npminstall
stop:
@echo Stopping changes watching
+ifeq ($(OS),Windows_NT)
+ wmic process where "Caption='node.exe' and CommandLine like '%webpack%'" call terminate
+else
@for PROCID in $$(ps -ef | grep "[n]ode.*[w]ebpack" | awk '{ print $$2 }'); do \
echo stopping webpack watch $$PROCID; \
kill $$PROCID; \
done
+endif
clean:
@echo Cleaning Webapp