diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-07-19 09:23:48 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-07-19 19:50:37 +0200 |
commit | f1a061e9ed6d9fffab5db9ae693e23ebe3b0cd19 (patch) | |
tree | 6b590e21aecd597e66a79048e32c2bcb1ad859f2 /hugolib | |
parent | 2f11e673c5edde9d254cf65f918c8e57d394ed12 (diff) |
Re-instate disableLiveReload as a config option (and not just a flag)
Closes #11259
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/site.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index eb6a4e344..b5c43fba3 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1058,7 +1058,7 @@ func (s *Site) renderAndWritePage(statCounter *uint64, name string, targetPath s pd.AbsURLPath = s.absURLPath(targetPath) } - if s.watching() && s.conf.Internal.Running && !s.conf.Internal.DisableLiveReload { + if s.watching() && s.conf.Internal.Running && !s.conf.DisableLiveReload { pd.LiveReloadBaseURL = s.Conf.BaseURLLiveReload().URL() } |