Skip to main content
Alex_FG
New Participant
February 21, 2023
Question

Is it possible to programmatically restart a plugin from within itself?

Currently for debugging purposes I give my users a “Restart in debug mode” checkbox, but they have to still manually press Cmd+Alt+P or go through the menu to restart the plugin. Would be nice to give them a [ Restart ] button.

This topic has been closed for replies.

2 replies

Bruno_Sastre
New Member
June 11, 2023

I am wondering the same here.

Alex_FG
Alex_FGAuthor
New Participant
June 11, 2023

I’ve since found that it’s possible, just call figma.showUI() again and it in effect restarts the plugin.