From 2f2b68f1cdbfaf723cf52d424e5d1fa4a8147aed Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 22 Jan 2019 13:36:27 -0800 Subject: [PATCH] make: site-livereload, make it show up in make help --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e1d32f67d..93f05ca3f 100644 --- a/Makefile +++ b/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 -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-reload: +site-livereload: \ + $(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) & livereloadx -p 8001 --static site/_site