about summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/build/build.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/build/build.go b/cmd/build/build.go
index 5007ead..8a8cd68 100644
--- a/cmd/build/build.go
+++ b/cmd/build/build.go
@@ -534,7 +534,9 @@ func main() {
 	if err != nil {
 		log.Panic(errors.Errorf("could not remove public directory: %v", err))
 	}
-	err = cp.Copy("static", "public", cp.Options{})
+	err = cp.Copy("static", "public", cp.Options{
+		PreserveTimes:     true,
+	})
 	if err != nil {
 		log.Panic(errors.Errorf("could not copy static files: %v", err))
 	}