diff options
author | Steve Francia <steve.francia@gmail.com> | 2013-08-20 20:55:56 -0700 |
---|---|---|
committer | Steve Francia <steve.francia@gmail.com> | 2013-08-20 20:55:56 -0700 |
commit | 00839567c764ee047ede5ead8fb1f7bcbd8b03fb (patch) | |
tree | 27b3e8accfef8b2ab8d65b9d06ebdf03ddbff5ce | |
parent | 35b35a700488fbe25475cd62968f2d76c1661d16 (diff) | |
parent | 5aa47a7b07a8dee27b4e474d9b1b96ae858644f2 (diff) |
Merge pull request #52 from rozza/StaticSync
Static changes shouldn't be destructive to existing files
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ func main() { func copyStatic(config *hugolib.Config) error { // Copy Static to Destination - return fsync.SyncDel(config.GetAbsPath(config.PublishDir+"/"), config.GetAbsPath(config.StaticDir+"/")) + return fsync.Sync(config.GetAbsPath(config.PublishDir+"/"), config.GetAbsPath(config.StaticDir+"/")) } func serve(port string, config *hugolib.Config) { |