Sync file before compiling

pull/1/head
Alex Beregszaszi 8 years ago
parent 2b40ca4388
commit 21fc25536b
  1. 3
      src/app.js

@ -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)
}
}

Loading…
Cancel
Save