commit e1618e9d2f609ca6983aa2d3907bd4b1bcef5da4
parent cb48425f2d0d4c261eaf04d872dbf2192854bca2
Author: spf13 <steve.francia@gmail.com>
Date: Mon, 16 Nov 2015 21:54:21 -0500
permit the notimes flag on hugo server
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/commands/server.go b/commands/server.go
@@ -79,6 +79,7 @@ func init() {
serverCmd.Flags().BoolVarP(&serverWatch, "watch", "w", false, "watch filesystem for changes and recreate as needed")
serverCmd.Flags().BoolVarP(&serverAppend, "appendPort", "", true, "append port to baseurl")
serverCmd.Flags().BoolVar(&disableLiveReload, "disableLiveReload", false, "watch without enabling live browser reload on rebuild")
+ serverCmd.Flags().BoolVarP(&NoTimes, "noTimes", "", false, "Don't sync modification time of files")
serverCmd.Flags().String("memstats", "", "log memory usage to this file")
serverCmd.Flags().Int("meminterval", 100, "interval to poll memory usage (requires --memstats)")
serverCmd.Run = server