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

Add watch mode for glow #560

Open
Dangerise opened this issue Feb 2, 2024 · 1 comment · May be fixed by #608
Open

Add watch mode for glow #560

Dangerise opened this issue Feb 2, 2024 · 1 comment · May be fixed by #608
Labels
enhancement New feature or request

Comments

@Dangerise
Copy link

Is your feature request related to a problem? Please describe.
I'm using helix editor on my terminal and I need to preview my markdown file

Describe the solution you'd like
Add a watch mode for glow, when the glow is watching a file, glow reload the file when the file is edited, and jump to the position which is edited.

@Dangerise Dangerise added the enhancement New feature or request label Feb 2, 2024
inifares23lab added a commit to inifares23lab/glow that referenced this issue Apr 16, 2024
Fixes charmbracelet#560
Passing the -r --reload flag enables the reload mode.
This is available only when using a pager (with flag -p) and when opening one file only.
Named it reload mode instead of watch mode because the -w flag was already taken.
@inifares23lab inifares23lab linked a pull request Apr 16, 2024 that will close this issue
@inifares23lab
Copy link

inifares23lab commented Apr 16, 2024

opened a PR for this.
it is not feature complete yet, but it works.

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

Successfully merging a pull request may close this issue.

2 participants