We have quite a few scriptrunner items that pull in lists of data to function, one example is we have a table that maps our products to the development team associated with it. This mapping list shows up in several places; post-functions, listeners, scripted fields, etc... To make updates easier and less prone to mistakes, I moved it to a class (in scripts/Classes). The problem we are encountering is that updates to the class file are not picked up unless we issue a groovy class/cache reset... which has a domino effect of breaking the custom JQL functions we have loaded, requiring a re-scan.... which breaks some filters, which breaks dashboards, etc. It can be quite clumsy.
This is mentioned in the documentation, but is there any way to avoid it? Some super secret handshake or clever trick to assure that changes to a dependent class like the one I mentioned are picked up immediately?