add missing "resolve"

pull/11/head
yann300 5 years ago committed by ioedeveloper
parent 6a6cf80346
commit c2f2feaf37
  1. 2
      apps/remix-ide/src/app/tabs/compileTab/compileTab.js

@ -68,7 +68,7 @@ class CompileTab {
const sources = { [target]: { content } }
this.event.emit('startingCompilation')
// setTimeout fix the animation on chrome... (animation triggered by 'staringCompilation')
setTimeout(() => this.compiler.compile(sources, target), 100)
setTimeout(() => { this.compiler.compile(sources, target); resolve() }, 100)
})
})
}

Loading…
Cancel
Save