This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-site.git
The following commit(s) were added to refs/heads/main by this push:
new c4b0bb2 `make build` auto reload changes (#158)
c4b0bb2 is described below
commit c4b0bb2883d9da8126a41fec5a95558543952813
Author: Kevin Liu <[email protected]>
AuthorDate: Mon Mar 16 14:10:06 2026 -0700
`make build` auto reload changes (#158)
---
Makefile | 3 ++-
README.md | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 1c958ee..ea98d13 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,8 @@ build:
docker build -t $(IMAGE_NAME)
https://github.com/apache/infrastructure-actions.git#main:pelican; \
fi
docker run -it --rm -p8000:8000 -v $(PWD):/site --entrypoint /bin/bash
$(IMAGE_NAME) -c \
- "pelicanasf content -o blog && python3 -m http.server 8000"
+ "pelicanasf content -o blog --autoreload & \
+ python3 -m http.server 8000"
# removes the Docker image
clean:
diff --git a/README.md b/README.md
index 395d47b..f41d55d 100644
--- a/README.md
+++ b/README.md
@@ -40,8 +40,8 @@ make
This will build the site using the
[`ASF-Pelican`](https://github.com/apache/infrastructure-actions/tree/main/pelican)
docker container.
Navigate in your web browser to
[http://localhost:8000/blog](http://localhost:8000/blog) to view the live
-website. In your terminal you can press Ctrl+C and rerun the last two commands
-to rebuild and publish the site.
+website. While `make` is running, changes under `content/` will automatically
+trigger a rebuild. Refresh the browser to see the updated site.
## Publish site
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]