So like I said, I would like to run some code to post-process files. Nothing super-concrete, but a bunch of small use cases I've run into such as

- Running tests on every tangle
- Executing a code block in the same document and running tests after all tangles
- Running a code-formatter such as prettierjs (or the python one which name escapes me - autopep?) and potentially de-tangling back

I realize some of these things I could do with a file watcher, but not really the ones that require modifying the document again

On Fri, Jan 1, 2021 at 6:29 AM Immanuel Litzroth <immanuel.litzroth@gmail.com> wrote:
I don't think there is an arg for that. I have written a tangler that
reuses a lot
of the org-babel machinery and has a more flexible mechanism to decide what
to do with the tangled code -- I use it for example to not write a
tangled file if it
hasn't changed, meaning that it will not trigger recompile.
The project is private now but if you're interested I can give you access to it.
What exactly are you trying to do?
Immanuel

On Fri, Jan 1, 2021 at 2:09 AM George Mauer <gmauer@gmail.com> wrote:
>
> I'd like to run some code to post-process files after they are tangled. Is there a header-arg for that?



--
-- Researching the dual problem of finding the function that has a
given point as fixpoint.