There is something really funky around index files that I can’t quite pinpoint.
There is this thread here :
That is very similar to the issue I have when I run the local dev server. More importantly it says :
“HOWEVER, this only appears to occur if content contains a “index.md” file. If that is missing then all is well.”
So I instead made a TEMPLATE called index.html, and removed my index.html file from my content hierarchy, and everything works fine.
There is also another issue here with the same problem :
I see exactly the same sorts of issues when running the dev server locally. It won’t build specific pages unless I touch them in some way, and then it will. But if I seem to remove my index.html file from the root of the content tree, everything works fine.