I am having a macro class C that use Context.onGenerate inside function F. The result of that is stored for runtime usage (lightweight rtti lets say). This works ok in most of the cases. However, when compilation server is used, and additional classes are added, or modifications done outside of my class M, the function F is not called as whole C being cached (my guess).
The way I can get around it is to disable / restart completion server. However I wonder if there is any more elegant solution to avoid particular class caching, or enforcing particular macros to get re-executed even when completion server is in use.
Thanks for any ideas.