From 2d050d2fc94aa6c27a5a8db7b9f49f5c97d8c241 Mon Sep 17 00:00:00 2001 From: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:46:06 +0100 Subject: [PATCH] fix watch (#18286) Co-authored-by: Allie Sadler --- compose.yaml | 2 +- content/contribute/contribute-guide.md | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/compose.yaml b/compose.yaml index 3c2f547c1a..a5054b832c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -6,7 +6,7 @@ services: ports: - "1313:1313" entrypoint: ["hugo", "server", "--bind", "0.0.0.0"] - x-develop: + develop: watch: - action: sync path: . diff --git a/content/contribute/contribute-guide.md b/content/contribute/contribute-guide.md index 39c6922723..707049dcac 100644 --- a/content/contribute/contribute-guide.md +++ b/content/contribute/contribute-guide.md @@ -75,8 +75,7 @@ $ cd docs Then, build and run the documentation using [Docker Compose](../compose/index.md): ```console -$ docker compose up -d --build -$ docker compose alpha watch +$ docker compose watch ``` > **Note** @@ -85,7 +84,7 @@ $ docker compose alpha watch When the container is built and running, visit [http://localhost:1313](http://localhost:1313) in your web browser to view the docs. -The [Docker Compose `watch`](../compose/file-watch.md) feature causes your +[Compose `watch`](../compose/file-watch.md) causes your running container to rebuild itself automatically when you make changes to your content files.