[dev] Re: Auto-preview man pages
On Thu, 7 Jan 2016 21:20:17 -0500
Greg Reagle <greg.reagle_AT_umbc.edu> wrote:
> I simplified the two separate commands into one command:
> echo address.yaml | entr -r sh -c 'make address.pdf && mupdf address.pdf'
>
> and like I mentioned it is very automatic and very convenient. Whenever I
> save changes with my text editor (to address.yaml) a new up-to-date mupdf
> view pops up.
You could also send mupdf a SIGHUP signal to tell it to reload, instead of spawning a new mupdf:
mupdf address.pdf & pid="$!"
echo address.yaml | entr sh -c "make address.pdf && kill -HUP $pid"
Received on Sat Jan 09 2016 - 20:13:06 CET
This archive was generated by hypermail 2.3.0
: Sat Jan 09 2016 - 20:24:10 CET