Load installed server add-ons
Reviewed By: nikoant Differential Revision: D34300475 fbshipit-source-id: 6bb6c0ab811e28806a0924b3487931bdb0dd2c59
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b4b9c0ab28
commit
8b94186783
@@ -419,8 +419,8 @@ export class FlipperServerImpl implements FlipperServer {
|
||||
'plugins-install-from-npm': (name) =>
|
||||
this.pluginManager.installPluginFromNpm(name),
|
||||
'plugin-source': (path) => this.pluginManager.loadSource(path),
|
||||
'plugins-server-add-on-start': (pluginName, owner) =>
|
||||
this.pluginManager.startServerAddOn(pluginName, owner),
|
||||
'plugins-server-add-on-start': (pluginName, details, owner) =>
|
||||
this.pluginManager.startServerAddOn(pluginName, details, owner),
|
||||
// TODO: Figure out if it needs to be async
|
||||
'plugins-server-add-on-stop': async (pluginName, owner) =>
|
||||
this.pluginManager.stopServerAddOn(pluginName, owner),
|
||||
|
||||
Reference in New Issue
Block a user