From fd8448fce05bbda5c51d880742dda4e33407b1c6 Mon Sep 17 00:00:00 2001 From: Tarun Aditya Thurlapati <tarun.aditya@hotmail.com> Date: Sat, 15 Jul 2023 17:06:44 +0530 Subject: [PATCH] Add explanation for ./hugo.sh in README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3e918ab6..f7768891 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,7 @@ To build this site, you must install [Hugo](https://gohugo.io/) and run the `hugo.sh` file. To preview the site, run `./hugo.sh serve` and then open [http://localhost:1313](http://localhost:1313) + +> `./hugo.sh` is a script that enables content written for the English language webpage (in the `content/` directory) to be visible in pages of other languages. +> But this results in a quirk where _hugo_ does not watch for changes in the `content/` directory when you use `./hugo.sh serve` command. +> So, you can use the `hugo serve` command instead, which makes sure that `content/` directory is also watched (just for when you're writing the pages). -- GitLab