Handle errors during rereading properly
authorSteve Francia <steve.francia@gmail.com>
Thu, 2 Jun 2016 20:47:28 +0000 (16:47 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 2 Jun 2016 21:47:30 +0000 (23:47 +0200)
commitf94cd2813d074f81fe3e96119e0f6de20aca5729
tree2bd8fe693939d9ba84ef803ba9d7f0a555a6a5fe
parentd1cf262b74e38feb95466a906a5775340024ad95
Handle errors during rereading properly

Without this fix, any error during rereading would cause Hugo to hang.
Fixes #2168
Closes #2179
hugolib/site.go