also build when last build of file has been dirty
This commit is contained in:
parent
f0c32260fa
commit
de10ca7546
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ class TexFileToFormat:
|
||||||
return self.__format() # Build file since we build all of them
|
return self.__format() # Build file since we build all of them
|
||||||
elif not self.pytex_recent or not self.recent:
|
elif not self.pytex_recent or not self.recent:
|
||||||
return self.__format() # Build file since either pytex or package repo is not recent
|
return self.__format() # Build file since either pytex or package repo is not recent
|
||||||
|
elif self.last_build_info and self.last_build_info['dirty']:
|
||||||
|
return self.__format() # Build file since we do not know in what state it is
|
||||||
else:
|
else:
|
||||||
return self.last_build_info
|
return self.last_build_info
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue