I am using LyX's instant preview feather, and I've recently modified the script that called when compiling the instant preview, and it works as indented.
Problem is that when I open an existing document, all the math environments are already compiled in some sort of cache, and the script isn't called again.
Is there a way to empty this cache? I've tried to untick the "Convertor File Cache" option in the Convertros menu, and it hasn't helped.