Let `make watch` handle both css and js

This commit is contained in:
JC Brand 2018-10-06 06:59:04 +02:00
parent c62dca4bd4
commit 490d3bbdf1
1 changed files with 6 additions and 2 deletions

View File

@ -149,14 +149,18 @@ css/%.min.css:: css/%.css
make dev
$(CLEANCSS) $< > $@
.PHONY: watch
watch: dev
.PHONY: watchcss
watchcss: dev
$(SASS) --watch -I $(BOURBON) -I $(BOOTSTRAP) sass:css
.PHONY: watchjs
watchjs: dev
./node_modules/.bin/npx webpack --mode=development --watch
.PHONY: watch
watch: dev
make -j 2 watchjs watchcss
.PHONY: logo
logo: logo/conversejs-transparent16.png \
logo/conversejs-transparent19.png \