I’m trying to get Hugo to ignore the temporary files created by flycheck (a syntax checker - I use it with http://proselint.com so I’d rather not just turn it off). While editing a file in /content
these files are created and I’d like to prevent them triggering a rebuild:
Change detected, rebuilding site
2018-03-24 15:01:25.094 +0000
Source changed "/Users/jamie/work/test.com/content/flycheck__index.md": REMOVE
Total in 24 ms
I’ve tried lots of variations on the following in my config.toml
:
ignoreFiles = [ ".*flycheck__.*" ]
But nothing seems to work and I still see the files popping up in my terminal log. Am I misunderstanding what ignoreFiles
does and it only prevents the file being processed but still triggers a rebuild? Or maybe I’m just making some silly regex mistake?