diff options
author | Ross Lawley <[email protected]> | 2013-08-20 20:32:32 +0100 |
---|---|---|
committer | Ross Lawley <[email protected]> | 2013-08-20 20:32:32 +0100 |
commit | 5aa47a7b07a8dee27b4e474d9b1b96ae858644f2 (patch) | |
tree | 502fd94cb126c59dc63f15d6dbbbe27ed670ce05 /main.go | |
parent | eff8457ac91e337b81876271aca31bf4d61e09f1 (diff) | |
download | hugo-5aa47a7b07a8dee27b4e474d9b1b96ae858644f2.tar.gz hugo-5aa47a7b07a8dee27b4e474d9b1b96ae858644f2.zip |
Static changes shouldn't be destructive to existing files
Currently changing css deletes all the site published html when it copies.
Refs #46
Diffstat (limited to 'main.go')
-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) { |