Commit 201e988f authored by yann300's avatar yann300

add missing "resolve"

parent 73a20b81
...@@ -68,7 +68,7 @@ class CompileTab { ...@@ -68,7 +68,7 @@ class CompileTab {
const sources = { [target]: { content } } const sources = { [target]: { content } }
this.event.emit('startingCompilation') this.event.emit('startingCompilation')
// setTimeout fix the animation on chrome... (animation triggered by 'staringCompilation') // 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)
}) })
}) })
} }
......
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