![](https://secure.gravatar.com/avatar/4706b91960717e6bb090635709594e91.jpg?s=120&d=mm&r=g)
Hi, is there a watchmode for ConTeXt? So that I can it once and ConTeXt will re-typeset a file once there are changes? Best, Denis
![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
On Fri, 29 Nov 2019 11:07:01 +0100
Denis Maier
is there a watchmode for ConTeXt?
I'm not aware of such a feature.
So that I can it once and ConTeXt will re-typeset a file once there are changes?
Idea: file='somefile.tex' while true; do inotifywait --event modify "$file" context --batchmode "$file" done Marco
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Fri, 29 Nov 2019, Marco Patzer wrote:
On Fri, 29 Nov 2019 11:07:01 +0100 Denis Maier
wrote: So that I can it once and ConTeXt will re-typeset a file once there are changes?
Idea:
file='somefile.tex' while true; do inotifywait --event modify "$file" context --batchmode "$file" done
I use atchange (http://users.fred.net/tds/lab/atchange.html), which allows you write a file, where you can specify dependencies, so I can trigger an automatic rerun if either of the dependencies change. This is useful for larger projects. Aditya
participants (3)
-
Aditya Mahajan
-
Denis Maier
-
Marco Patzer