aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Else <[email protected]>2024-09-18 09:53:18 +0100
committerGitHub <[email protected]>2024-09-18 10:53:18 +0200
commitc260cb28a9fe3d391530ecd9011ce6ed927f57f8 (patch)
tree984069018c38c25b12100e9299a6b7561de51a74
parente079145373ed71707b9ed6e462f3dfd91ca85687 (diff)
downloadhugo-c260cb28a9fe3d391530ecd9011ce6ed927f57f8.tar.gz
hugo-c260cb28a9fe3d391530ecd9011ce6ed927f57f8.zip
Add exclusion for helix .bck files
Updates #12677
-rw-r--r--commands/hugobuilder.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/hugobuilder.go b/commands/hugobuilder.go
index 15373d8c6..d15d47326 100644
--- a/commands/hugobuilder.go
+++ b/commands/hugobuilder.go
@@ -779,6 +779,7 @@ func (c *hugoBuilder) handleEvents(watcher *watcher.Batcher,
istemp := strings.HasSuffix(ext, "~") ||
(ext == ".swp") || // vim
(ext == ".swx") || // vim
+ (ext == ".bck") || // helix
(ext == ".tmp") || // generic temp file
(ext == ".DS_Store") || // OSX Thumbnail
baseName == "4913" || // vim