mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
;make site-watch: build and watch the new site, not the old one
[ci skip]
This commit is contained in:
parent
538e97f3ac
commit
84cf3fe722
8
Makefile
8
Makefile
@ -751,14 +751,10 @@ site-live: Shake \
|
|||||||
$(call def-help,site-live, update the local website html when source files are saved )
|
$(call def-help,site-live, update the local website html when source files are saved )
|
||||||
ls $(DOCSOURCEFILES) | entr ./Shake website
|
ls $(DOCSOURCEFILES) | entr ./Shake website
|
||||||
|
|
||||||
LIVERELOAD=livereloadx -p $(LIVERELOADPORT)
|
|
||||||
LIVERELOADPORT=8001
|
|
||||||
|
|
||||||
site-watch:
|
site-watch:
|
||||||
$(call def-help,site-livereload, open a browser on the local website html and rerender & reload the page on file change )
|
$(call def-help,site-watch, open a browser on the website (in ./site) and rerender & reload the page when source files change )
|
||||||
make site-live &
|
make site-live &
|
||||||
(sleep 1; $(BROWSE) http://localhost:$(LIVERELOADPORT)/) &
|
make -C site html-watch
|
||||||
$(LIVERELOAD) -s site/_site/
|
|
||||||
|
|
||||||
# This rule, for updating the live hledger.org site, gets called by:
|
# This rule, for updating the live hledger.org site, gets called by:
|
||||||
# 1. github-post-receive (github webhook handler), when something is pushed
|
# 1. github-post-receive (github webhook handler), when something is pushed
|
||||||
|
Loading…
Reference in New Issue
Block a user