Use http to serve and entr to rebuild
This commit is contained in:
parent
5058d53e28
commit
25e50052db
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue