aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-07-19 09:23:48 +0200
committerBjørn Erik Pedersen <[email protected]>2023-07-19 19:50:37 +0200
commitf1a061e9ed6d9fffab5db9ae693e23ebe3b0cd19 (patch)
tree6b590e21aecd597e66a79048e32c2bcb1ad859f2 /commands
parent2f11e673c5edde9d254cf65f918c8e57d394ed12 (diff)
downloadhugo-f1a061e9ed6d9fffab5db9ae693e23ebe3b0cd19.tar.gz
hugo-f1a061e9ed6d9fffab5db9ae693e23ebe3b0cd19.zip
Re-instate disableLiveReload as a config option (and not just a flag)
Closes #11259
Diffstat (limited to 'commands')
-rw-r--r--commands/helpers.go13
1 files changed, 6 insertions, 7 deletions
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