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
.PHONY: build
serve:
cobalt watch
serve: build
cd _site && http
.PHONY: serve
deploy: clean build
@ -18,5 +18,5 @@ clean:
.PHONY: clean
rerun:
rerun -p "**/*.{md,liquid,css,js}" -i "_site/*" -x -- make
fd | entr -s make
.PHONY: rerun