Let make watch
handle both css and js
This commit is contained in:
parent
c62dca4bd4
commit
490d3bbdf1
8
Makefile
8
Makefile
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user