Commit c1ec8153 authored by ioedeveloper's avatar ioedeveloper

Wait for provider before loading remixd provider

parent 154b95d3
...@@ -47,7 +47,6 @@ export class RemixdHandle extends WebsocketPlugin { ...@@ -47,7 +47,6 @@ export class RemixdHandle extends WebsocketPlugin {
} }
activate () { activate () {
this.fileSystemExplorer.show()
this.connectToLocalhost() this.connectToLocalhost()
} }
...@@ -83,7 +82,9 @@ export class RemixdHandle extends WebsocketPlugin { ...@@ -83,7 +82,9 @@ export class RemixdHandle extends WebsocketPlugin {
this.canceled() this.canceled()
} }
}, 3000) }, 3000)
this.locahostProvider.init() this.locahostProvider.init(() => {
this.fileSystemExplorer.show()
})
this.call('manager', 'activatePlugin', 'git') this.call('manager', 'activatePlugin', 'git')
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment