Forum How do I...?

Watch for instant updates

eirikeis
Is there a way to watch for changes in a html file and to get instant updates shown in a prince generated PDF file. We currently have a very slow feedback loop, and this would help a lot :-)

I know this is a duplicate of https://www.princexml.com/forum/topic/767/instant-preview-great-feature but since the last post was 12 years ago I guess there may have been some new progress on the matter?

mikeday
Which operating system are you running Prince on?
eirikeis
Hi mikeday. Thank you for your quick answer 😊

I am on Mac OS, but our team is using windows, Ubuntu and mac OS, so preferably it should work on all.
mikeday
There is a program called watchexec that might be helpful for re-running Prince when it detects that the input files have changed:

https://github.com/watchexec/watchexec
eirikeis
Thanks mikeday. I will take a look at it :-)