Skip to main content
Question

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

  • February 21, 2023
  • 2 replies
  • 915 views

Alex_FG

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
  • Author
  • 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.