mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.33k stars 32 forks source link

Hot reload breaks when presentation file is temporarily deleted #140

Closed mfontanini closed 9 months ago

mfontanini commented 10 months ago

It seems like neovim saves by deleting and moving a file on top of the original one. If presenterm tries to reload it right then it fails badly. We should instead show an error temporarily, and then reload again once we find the file has shown up again (or stay in that state forever otherwise).