Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feautre request: auto-reload when file changes on file system #66

Open
calvh opened this issue Jul 29, 2021 · 5 comments
Open

Feautre request: auto-reload when file changes on file system #66

calvh opened this issue Jul 29, 2021 · 5 comments

Comments

@calvh
Copy link

calvh commented Jul 29, 2021

Enhancement suggestion:

Add support for live preview (e.g., when editing file in another editor, automatically refresh changes, or add an option to do so)

@mb21
Copy link
Owner

mb21 commented Jul 30, 2021

I'm curious: why would you want to edit the file in another editor? Which one?

@calvh
Copy link
Author

calvh commented Jul 31, 2021

I normally use Vim for text editing, so would love to have a markdown viewer with pandoc support

@mb21
Copy link
Owner

mb21 commented Aug 1, 2021

have a look at https://github.com/jgm/pandoc/wiki/Pandoc-Extras and search for vim... maybe any of those projects suit your needs?

@mb21 mb21 changed the title ENH: Add support for live preview Feautre request: auto-reload when file changes on file system Aug 15, 2021
@hsgg
Copy link

hsgg commented Jun 14, 2023

Hi, came here for exactly this feature request.

My use case, however, is that I synchronize a directory of markdown files using syncthing. So when I modify a markdown file on my phone while waiting in line for lunch, I would like those modifications to show up on the laptop a little whiles later.

For now, even just a notification saying that the file on-disk has changed would be sufficient to remind me to open the file again. Would that be within the spirit of panwriter?

@mb21
Copy link
Owner

mb21 commented Jun 15, 2023

notification saying that the file on-disk has changed would be sufficient to remind me to open the file again. Would that be within the spirit of panwriter?

yes, good idea! that should be easy to implement...

auto-reloading would make sense if we would switch file handling to be macOS-like... (what was introduced with macOS Lion)... but I think that's still not common on Windows and Linux? And there are no cross-platform APIs I know of that make it easy...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants