When running hugo server, pages do not appear to be built unless I actively edit and save them AFTER the hugo server is awake and running.
This is surprising as it implies that the server doesn’t scan the website and build everything when it is turned on, and leads to many “page not found” errors.
HOWEVER, this only appears to occur if content contains a “index.md” file. If that is missing then all is well.
A tiny example repository can be found here:
I am using Hugo 0.56.0, on Ubuntu 18.04.3 LTS system. My theme is cayman.
If there any other information I can provide?