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 () { function runCompiler () {
var files = {} editorSyncFile()
if (currentFile) { if (currentFile) {
var target = currentFile var target = currentFile
files[target] = editor.get(currentFile) var sources = {}
compiler.compile(files, target) sources[target] = files.get(target)
compiler.compile(sources, target)
} }
} }

Loading…
Cancel
Save