charmbracelet / glow

Render markdown on the CLI, with pizzazz! 💅🏻
MIT License
16k stars 349 forks source link

Add reload mode #608

Open inifares23lab opened 5 months ago

inifares23lab commented 5 months ago

Fixes #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.

deicon commented 2 months ago

@caarlos0 seems to be related to #624 and the #427