thomasjo / atom-latex

Compile LaTeX or knitr documents from within Atom
https://atom.io/packages/latex
MIT License
223 stars 42 forks source link

Cleanup fails if files are hidden #412

Closed mjclarke94 closed 7 years ago

mjclarke94 commented 7 years ago

If your document is initialised as a git repo and atom is set to hide files in .gitignore in the viewer, the cleanup command fails to delete these files.

yitzchak commented 7 years ago

Thank for you for the issue report! We'll look into it.

yitzchak commented 7 years ago

I have not been able to reproduce this. What is your setting for cleanPatterns and what the names of the files that are being missed?

hendrikbl commented 7 years ago

I think what @mjclarke94 means is setting a hidden folder as the output directory. I experienced the same with Clean Patterns set to default and Output Folder set to .build. Building works fine but cleaning Fails with the warning File needs to be saved to disk before it can be proceeded.

yitzchak commented 7 years ago

Thanks @hendrikbl! I have reproduced this and have a fix in the works.