Hello,
I have multiple mounts set up. Hugo server is not showing new content for files in one of them and I am not sure how to figure out what is wrong or how to fix it.
Hugo version:
> hugo version
hugo v0.145.0+extended+withdeploy darwin/arm64 BuildDate=2025-02-26T15:41:25Z VendorInfo=brew
I have these module settings in my hugo.toml
file.
[module]
[[module.imports]]
path = 'github.com/McShelby/hugo-theme-relearn'
[[module.mounts]]
source = 'content'
target = 'content'
[[module.mounts]]
source = '/Users/rob.bram/ci'
target = 'content/Current-Issue'
[[module.mounts]]
source = '/Users/rob.bram/Documents/tips'
target = 'content/tech-tips'
[[module.mounts]]
source = '/Users/rob.bram/work/OzEdiNotes/techTips'
target = 'content/Project-Tech-Tips'
-
I start the server with
hugo server
-
I edit a file under /Users/rob.bram/ci
-
I see the following in my terminal:
Change detected, rebuilding site (#1). 2025-03-13 15:54:36.954 +1100 Web Server is available at http://localhost:1313/ (bind address 127.0.0.1) Total in 6 ms
-
I reload the page - I see no changes.
-
I modify a page under /Users/rob.bram/Documents/tips
-
I see the same message in terminal, and when I refresh the browser page for that item, I see the new content.
How can I further trouble shoot this? Things I tried:
- Doing a
chmod 777 *.md
on the directory that wasn’t updating - no change. - Try starting the server with
hugo server --disableLiveReload
- no change.
Rob