From f1a061e9ed6d9fffab5db9ae693e23ebe3b0cd19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 19 Jul 2023 09:23:48 +0200 Subject: Re-instate disableLiveReload as a config option (and not just a flag) Closes #11259 --- commands/helpers.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'commands') diff --git a/commands/helpers.go b/commands/helpers.go index 5021221fb..d6c5e43ac 100644 --- a/commands/helpers.go +++ b/commands/helpers.go @@ -86,13 +86,12 @@ func flagsToCfgWithAdditionalConfigBase(cd *simplecobra.Commandeer, cfg config.P // Flags that we for some reason don't want to expose in the site config. internalKeySet := map[string]bool{ - "quiet": true, - "verbose": true, - "watch": true, - "disableLiveReload": true, - "liveReloadPort": true, - "renderToMemory": true, - "clock": true, + "quiet": true, + "verbose": true, + "watch": true, + "liveReloadPort": true, + "renderToMemory": true, + "clock": true, } cmd := cd.CobraCommand -- cgit v1.2.3