mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-05 11:15:27 +03:00
;dev: make site-watch: convert to watchexec
This commit is contained in:
parent
3724e77dad
commit
c03bb48972
2
Makefile
2
Makefile
@ -859,7 +859,7 @@ LOCALSITEURL=http://localhost:3000/dev/hledger.html
|
||||
site-watch: $(call def-help,site-watch, open a browser on the website (in ./site) and rerender when docs or web pages change )
|
||||
@make -s Shake
|
||||
@(printf "\nbrowser will open in $(BROWSEDELAY)s (adjust BROWSE in Makefile if needed)...\n\n"; sleep $(BROWSEDELAY); $(BROWSE) $(LOCALSITEURL)) &
|
||||
@ls $(DOCSOURCEFILES) | entr -r bash -c './Shake webmanuals && ./Shake orgfiles && make -sC site serve'
|
||||
@$(WATCHEXEC) -e md,m4 -r './Shake webmanuals && ./Shake orgfiles && make -sC site serve'
|
||||
|
||||
###############################################################################
|
||||
$(call def-help-subheading,RELEASING:)
|
||||
|
Loading…
Reference in New Issue
Block a user