> Is there a way to automatically attach the source file to the produced pdf?
\setupinteraction [state=start]
\starttext
\attachment[file=attachfile.tex, title=Some file, author=Me]
\stoptext

Ok. It works, thank you.