Open paolobrasolin opened 7 years ago
Antex
caching causes the loop, because Jekyll
is listening to the cache folder too.
A solution is adding an exclusion to _config.yml
:
exclude:
- .antex-cache/'
A better solution would be to exclude the folder automatically using values from
antex:
dirs:
work: .antex-cache
dest: .antex-cache/antex
Another solution could be to simply put the cache folder outside of the project root. E.g.:
antex:
dirs:
work: /home/username/.antex-cache
dest: /home/username/.antex-cache/antex
Note the tilde ~
cannot be expanded, so you must use the full home path if you need it.
OK, let's just close the issue after documenting this.
When an
Antex::Command
throws an error (e.g. caused by invalidTeX
code), if we're using incremental builds with thejekyll serve
r, a rebuilding loop is entered.