mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
make: site-livereload, make it show up in make help
This commit is contained in:
parent
a29b70c93f
commit
2f2b68f1cd
4
Makefile
4
Makefile
@ -940,8 +940,8 @@ site-preview: site/hakyll-std/hakyll-std \
|
|||||||
$(call def-help,site-preview, run a hakyll server to preview the website ) #site/site
|
$(call def-help,site-preview, run a hakyll server to preview the website ) #site/site
|
||||||
-cd site; hakyll-std/hakyll-std watch # -h hledger.org
|
-cd site; hakyll-std/hakyll-std watch # -h hledger.org
|
||||||
|
|
||||||
# open a browser on the latest site html and reload the page whenever it changes
|
site-livereload: \
|
||||||
site-reload:
|
$(call def-help,site-livereload, open a browser on the latest site html and reload the page whenever it changes )
|
||||||
(sleep 1; open http://localhost:8001) &
|
(sleep 1; open http://localhost:8001) &
|
||||||
livereloadx -p 8001 --static site/_site
|
livereloadx -p 8001 --static site/_site
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user