News for hackers. Stuff that matters.
Re:Show HN: Publish blog post with a simple Git push by afandian on Monday August 08, 2016 @06:23AM (#12246620)
Interesting to hear your experiences. I'm doing something similar, with a large number of files in the static directory which never change. Hugo seems to lack any knowledge about which files it changed, so it's a huge re-upload every time (I'm using AWS S3 sync).

It would be nice if Hugo could remember if it touched a file or not. AFAICT it just copies everything over each time and changes the datestamp. Even with rsync this is a lot of useless work.

I've got a script which does a git pull every 5 minutes, with automatic hugo build. It works (Hugo doesn't crash that often) and is simple enough for me.

There are no comments on this comment yet.