For my blog posts I create svg images with LaTeX. Every time I change the .tex file I want to execute a command which generates first a .pdf from the .tex and then a .svg from the .pdf. Basically these are two very simple commands.
I noticed that the Hugo live server reacts on file changes. Is there a possibility to say to Hugo “If a .tex file changes then execute the following commands”?