jless icon indicating copy to clipboard operation
jless copied to clipboard

Reload on file change

Open kllmanu opened this issue 2 years ago • 3 comments

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

kllmanu avatar May 28 '22 19:05 kllmanu

or perhaps a command like r would also be cool

andres-lowrie avatar Jun 23 '22 15:06 andres-lowrie

or perhaps a command like r would also be cool

Upvote here! =D

isquicha avatar Apr 27 '23 20:04 isquicha

A reload keybinding would be great.

nkh avatar Oct 25 '23 18:10 nkh