Brian Gough 9 лет назад
Родитель
Сommit
2bdba15bd5
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      services/clsi/app/coffee/ResourceWriter.coffee

+ 2 - 0
services/clsi/app/coffee/ResourceWriter.coffee

@@ -78,6 +78,8 @@ module.exports = ResourceWriter =
 					should_delete = true
 					if path.match(/^output\./) or path.match(/\.aux$/) or path.match(/^cache\//) # knitr cache
 						should_delete = false
+					if path.match(/^output-.*/) # Tikz cached figures
+						should_delete = false
 					if path == "output.pdf" or path == "output.dvi" or path == "output.log" or path == "output.xdv"
 						should_delete = true
 					if path == "output.tex" # created by TikzManager if present in output files