Is there a reliable way to force LR to update its preview and/or thumbnail?
I'm writing a plugin that, depending on user actions, will replace an already-imported JPEG with a new one. When my code that does this runs, I can see the change immediately in the OSX Finder window. Lightroom though takes a while to reflect the change. I can't detect a pattern: sometimes just a second or two, sometimes 10 seconds, sometimes I have to move the selection to another photo and then back to the one in question. I *think* that calling photo:requestJpegThumbnail after I write the new JPEG to disk has decreased the amount of time it takes but I'm not sure.
Is there a more reliable way to kick LR into reflecting the change?
Thanks,
db