diff options
author | Jared Shields <shieldsjared@gmail.com> | 2016-10-04 08:56:01 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-10-04 08:56:01 -0400 |
commit | 3bac3a006128ebcb4a6ea6dd5e2aa2f8614cb434 (patch) | |
tree | c63b2ea94d2de3463137c91d40bc405452637039 /webapp/Makefile | |
parent | 1a5a6244701615b4f085bb5337d92c2809ac95d3 (diff) | |
download | chat-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/Makefile | 4 |
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 |