diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-09-26 18:58:44 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-09-26 19:59:15 +0200 |
commit | e94d4f0177852b357f40fb9686a0ff3667d86351 (patch) | |
tree | 1fb94b57ffd1607e8035b3d0335dcca6a04909c7 /commands | |
parent | 8a69d2356703d9f2fcb75bce0ae514e70ebd8e01 (diff) |
commands: Make noHTTPCache default false
The other way was a mistake.
Diffstat (limited to 'commands')
-rw-r--r-- | commands/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/server.go b/commands/server.go index 312aa5093..b52e38c17 100644 --- a/commands/server.go +++ b/commands/server.go @@ -89,7 +89,7 @@ func init() { serverCmd.Flags().IntVar(&liveReloadPort, "liveReloadPort", -1, "port for live reloading (i.e. 443 in HTTPS proxy situations)") serverCmd.Flags().StringVarP(&serverInterface, "bind", "", "127.0.0.1", "interface to which the server will bind") serverCmd.Flags().BoolVarP(&serverWatch, "watch", "w", true, "watch filesystem for changes and recreate as needed") - serverCmd.Flags().BoolVar(&noHTTPCache, "noHTTPCache", true, "prevent HTTP caching") + serverCmd.Flags().BoolVar(&noHTTPCache, "noHTTPCache", false, "prevent HTTP caching") 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().BoolVar(&navigateToChanged, "navigateToChanged", false, "navigate to changed content file on live browser reload") |