hain icon indicating copy to clipboard operation
hain copied to clipboard

Reload plugins without restarting app

Open appetizermonster opened this issue 8 years ago • 3 comments

appetizermonster avatar Mar 23 '16 12:03 appetizermonster

It's in now - cool. Could we run this automatically on plugin install/update?

notatestuser avatar May 11 '16 09:05 notatestuser

@notatestuser Yes technically it's possible, but I don't know to unload nodejs modules without closing process, so all the plugins should be reloaded at once and it takes time. Reloading plugins after every installing would be boring.

appetizermonster avatar May 20 '16 16:05 appetizermonster

you could instead modify the plugin api to require support for a shutdown or reload method

this would be where we require plugins to clean up after themselves

DanielFallon avatar Sep 27 '16 12:09 DanielFallon