Use http to serve and entr to rebuild
This commit is contained in:
parent
5058d53e28
commit
25e50052db
6
Makefile
6
Makefile
|
@ -5,8 +5,8 @@ build:
|
||||||
cobalt build --drafts
|
cobalt build --drafts
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|
||||||
serve:
|
serve: build
|
||||||
cobalt watch
|
cd _site && http
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
|
|
||||||
deploy: clean build
|
deploy: clean build
|
||||||
|
@ -18,5 +18,5 @@ clean:
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
rerun:
|
rerun:
|
||||||
rerun -p "**/*.{md,liquid,css,js}" -i "_site/*" -x -- make
|
fd | entr -s make
|
||||||
.PHONY: rerun
|
.PHONY: rerun
|
||||||
|
|
Loading…
Reference in a new issue