Hi Rodrigo,

Rodrigo Arias <rodar...@gmail.com> wrote:

> I implemented this on the following PR:
> 
> https://github.com/dillo-browser/dillo/pull/290
> 
> It reloads the focused tabs on all windows of the given Dillo process 
> when a SIGUSR1 signal arrives.
> 
> Example to reload a local file test.html:
> 
> All Dillo processes:
> 
>    echo test.html | entr pkill -SIGUSR1 dillo
> 
> Only one with pid 1234:
> 
>    echo test.html | entr kill -SIGUSR1 1234
> 
> I mostly wanted to quickly reload the changes when I edit an HTML
> page, but this can also be used to monitor a remote page over time,
> like:
> 
>    $ dillo https://twtxt.envs.net/api/plain/tweets &
>    $ while [ 1 ]; do sleep 10; pkill -SIGUSR1 dillo; done &
> 
> See: https://forums.raspberrypi.com/viewtopic.php?t=330705
> 
> Could you test it on OpenBSD, I hope the signaling part continues to 
> work fine there.

Nice patch! It seems to be working fine here with no problems.

I agree that this is quite useful for editing and monitoring pages,
thanks!

-Alex
_______________________________________________
Dillo-dev mailing list -- dillo-dev@mailman3.com
To unsubscribe send an email to dillo-dev-le...@mailman3.com

Reply via email to