summaryrefslogtreecommitdiffstats
path: root/webapp/Makefile
diff options
context:
space:
mode:
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