I am getting familiar with Hugo and trying to write a Lambda function to execute Hugo. That’s going okay, but I’m caught up with some problems with Hugo itself. When I run Hugo locally to better understand it, I’m noticing the index.html page doesn’t necessarily refresh when I add posts. Here are the steps I’m taking.
- Generate site
- Create new post using
hugo new hugo-on-lambda
command - Change
draft: true
tofalse
in new post - Generate content using
hugo
command - View
public/index.html
file
The index.html file doesn’t seem to change much or at all after this process. What can I look into?