I want the current artboards on the canvas. Once the plugin is invoked, the list is made for current artboards. Now if I add one more Artboard and invoke the plugin, the list is not updated. Obviously as the plugin lifecycle mentions that Plugin remains resident till document is closed or plugin is reloaded.
Is there a way to refresh the document at plugin Initialization or reload the plugin every time it is invoked?