πŸ‡ΊπŸ‡¦ We stand with Ukraine! πŸ‡ΊπŸ‡¦

Request restart from plugin itself

Hi,

did not find anything in the documentation and also failed searching in the code.... is it possible to trigger the restart required command also from the plugin itself? I need it to request a restart if a configuration is changed...

Cheers,
Nils

OctoPrint.system.executeCommand("core", "restart"); will do the command, an example of it being called from plugin manager (which is a plugin).