PaulJuliusMartinez / jless

jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
https://jless.io
MIT License
4.73k stars 91 forks source link

Reload on file change #91

Open kllmanu opened 2 years ago

kllmanu commented 2 years ago

Thanks a lot for your command line json viewer, I really appreciate the effort you put into! It would be really nice if the data would be reloaded (maybe with an optional flag --reload) when the input file changes. I've tried to achieve the same with tools like entr but I always end up with lots of errors, freezing UI (navigating the json is acting weird) and I've to kill the terminal.

The messages that are "spammed" when I try to quit jless, command started with echo context.json | entr -z jless context.json:

Screenshot 2022-05-29 at 10 43 30
andres-lowrie commented 2 years ago

or perhaps a command like r would also be cool

isquicha commented 1 year ago

or perhaps a command like r would also be cool

Upvote here! =D

nkh commented 11 months ago

A reload keybinding would be great.