Merge pull request #441 from ethereum/save-cleanup

Always save before compiling
pull/1/head
chriseth 8 years ago committed by GitHub
commit 0ec2035b25
  1. 7
      src/app.js

@ -694,11 +694,12 @@ var run = function () {
})
function runCompiler () {
var files = {}
editorSyncFile()
if (currentFile) {
var target = currentFile
files[target] = editor.get(currentFile)
compiler.compile(files, target)
var sources = {}
sources[target] = files.get(target)
compiler.compile(sources, target)
}
}

Loading…
Cancel
Save