Add live reload target
This commit is contained in:
parent
eff6e3b6e5
commit
8c68814e22
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -41,3 +41,7 @@ $(VENV_SOURCE)/dep: $(VENV_SOURCE) $(REQUIREMENT)
|
||||||
.PHONY: clean-venv
|
.PHONY: clean-venv
|
||||||
clean-venv:
|
clean-venv:
|
||||||
[ -d $(VENV_SOURCE) ] && rm -rf $(VENV_SOURCE)
|
[ -d $(VENV_SOURCE) ] && rm -rf $(VENV_SOURCE)
|
||||||
|
|
||||||
|
.PHONY: serve
|
||||||
|
serve: $(VENV_SOURCE)/dep
|
||||||
|
$(VENV_CMD) && invoke livereload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue