Skip to main content
Question

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

  • February 21, 2023
  • 2 replies
  • 850 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

I am wondering the same here.


Alex_FG
  • Author
  • New Participant
  • 32 replies
  • June 11, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings