Co-authored-by: Allie Sadler <alliesadler@f693mt7fh6.home>
This commit is contained in:
Allie Sadler 2023-09-26 14:46:06 +01:00 committed by GitHub
parent 0352b908f5
commit 2d050d2fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@ services:
ports:
- "1313:1313"
entrypoint: ["hugo", "server", "--bind", "0.0.0.0"]
x-develop:
develop:
watch:
- action: sync
path: .

View File

@ -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.