1
Fork 0

Use http to serve and entr to rebuild

This commit is contained in:
Jan-Erik Rediger 2018-07-20 10:45:17 +02:00
parent 5058d53e28
commit 25e50052db

View file

@ -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