Re-instate disableLiveReload as a config option (and not just a flag)

Closes #11259
This commit is contained in:
Bjørn Erik Pedersen
2023-07-19 09:23:48 +02:00
parent 2f11e673c5
commit f1a061e9ed
5 changed files with 56 additions and 14 deletions

View File

@@ -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