Closed nisargjhaveri closed 6 years ago
Hey @nisargjhaveri 👋 Thanks for another PR!
I was playing with this today and it seemed to work well and I didn't find anything major braking, so finger crossed! 🤞
I did find one case where I didn't observe behavior I expected. Here's the scenario:
Do you see the same behavior? If so, would that be something we'd like to cover as well?
Thanks again! ❤️
Sure. I'll update the PR to cover this case.
I think, the expected behaviour should be that, as soon as auto-reload-on-update is enabled, the file should update if changed, without needing to click on tree-view or anything else. Does this sound good?
I think, the expected behaviour should be that, as soon as auto-reload-on-update is enabled, the file should update if changed, without needing to click on tree-view or anything else. Does this sound good?
Yep, sounds perfect! 👌 Thank you 🙏
Fixed and update the PR. Have a look?
Looks great to me -- thanks again! Gonna merge this and see if anyone notices any problems :v:
Love your contributions, @nisargjhaveri! 👏 ❤️
If the "Auto reload on update" is disabled. The file never updates. Even if someone manually tries to open a file or calls
atom.workspace.open
.With this PR, when "Auto reload on update" is disabled, and someone clicks on the file on sidebar, and if the file is updated, the file should reload.
The file should also reload when some other plugin, for example
latex
, callsatom.workspace.open
after compiling the pdf.This fixes #161. Hope it doesn't break anything else! :P