Commit 490d3bbd authored by JC Brand's avatar JC Brand

Let `make watch` handle both css and js

parent c62dca4b
...@@ -149,14 +149,18 @@ css/%.min.css:: css/%.css ...@@ -149,14 +149,18 @@ css/%.min.css:: css/%.css
make dev make dev
$(CLEANCSS) $< > $@ $(CLEANCSS) $< > $@
.PHONY: watch .PHONY: watchcss
watch: dev watchcss: dev
$(SASS) --watch -I $(BOURBON) -I $(BOOTSTRAP) sass:css $(SASS) --watch -I $(BOURBON) -I $(BOOTSTRAP) sass:css
.PHONY: watchjs .PHONY: watchjs
watchjs: dev watchjs: dev
./node_modules/.bin/npx webpack --mode=development --watch ./node_modules/.bin/npx webpack --mode=development --watch
.PHONY: watch
watch: dev
make -j 2 watchjs watchcss
.PHONY: logo .PHONY: logo
logo: logo/conversejs-transparent16.png \ logo: logo/conversejs-transparent16.png \
logo/conversejs-transparent19.png \ logo/conversejs-transparent19.png \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment