add log when provider is initiated

pull/7/head
yann300 5 years ago
parent d8ec51aded
commit 1f11d3da49
  1. 6
      remix-simulator/src/server.js

@ -9,7 +9,11 @@ const log = require('./utils/logs.js')
class Server { class Server {
constructor (options) { constructor (options) {
this.provider = new Provider(options) this.provider = new Provider(options)
this.provider.init() this.provider.init().then(() => {
log('Provider initiated')
}).catch((error) => {
log(error)
})
} }
start (host, port) { start (host, port) {

Loading…
Cancel
Save