Permissions! I thought to run $ hugo serve --verbose and received these messages:
INFO 2018/02/06 13:25:13 Received System Events: ["/Users/growdigital/Sites/indiego.org.uk/static/logo-thumbnail.png": CREATE]
Static file changes detected
2018-02-06 13:25:13.436 +0000
Syncing logo-thumbnail.png to /
INFO 2018/02/06 13:25:14 Received System Events: ["/Users/growdigital/Sites/indiego.org.uk/static/logo-thumbnail.png": CHMOD]
INFO 2018/02/06 13:25:18 Received System Events: ["/Users/growdigital/Sites/indiego.org.uk/static/.DS_Store": CHMOD "/Users/growdigital/Sites/indiego.org.uk/static/.DS_Store": WRITE "/Users/growdigital/Sites/indiego.org.uk/static/.DS_Store": WRITE]
INFO 2018/02/06 13:25:33 Received System Events: ["/Users/growdigital/Sites/indiego.org.uk/static/.DS_Store": WRITE]
I installed Hugo with brew, so would be surprised if there’s a permissions issue. But not that surprised!
Not sure if I understand correctly, but the files won’t get copied into the public/ dir when running hugo server (they actually are, but in some temp directory).
Do the files get copied when you run just hugo?
Or another question would be: How did you deduce that the files aren’t getting copied? Because they don’t show up physically in the public/ directory? Or because you don’t find the localhost reflect the should-be-copied files?
And finally: Do you see the same behavior between hugo and hugo server?
I just ran hugo and files were generated – I didn’t realise about the memory caching, which is why no physical files appearing when running hugo serve.
thanks for swift reply really enjoying working with Hugo (superfast) and this kind of support makes it sweeter still