Commit 21fc2553 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Sync file before compiling

parent 2b40ca43
......@@ -694,10 +694,11 @@ var run = function () {
})
function runCompiler () {
editorSyncFile()
if (currentFile) {
var target = currentFile
var sources = {}
sources[target] = editor.get(target)
sources[target] = files.get(target)
compiler.compile(sources, target)
}
}
......
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