Add exclusion for helix .bck files

Updates #12677
This commit is contained in:
David Else 2024-09-18 09:53:18 +01:00 committed by GitHub
parent e079145373
commit c260cb28a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -779,6 +779,7 @@ func (c *hugoBuilder) handleEvents(watcher *watcher.Batcher,
istemp := strings.HasSuffix(ext, "~") || istemp := strings.HasSuffix(ext, "~") ||
(ext == ".swp") || // vim (ext == ".swp") || // vim
(ext == ".swx") || // vim (ext == ".swx") || // vim
(ext == ".bck") || // helix
(ext == ".tmp") || // generic temp file (ext == ".tmp") || // generic temp file
(ext == ".DS_Store") || // OSX Thumbnail (ext == ".DS_Store") || // OSX Thumbnail
baseName == "4913" || // vim baseName == "4913" || // vim