Fix updating source map file during incremental build in IDEA

This commit is contained in:
Alexey Andreev 2017-06-11 00:41:06 +03:00
parent 2992c6e406
commit 45b0836ac6

View File

@ -513,6 +513,7 @@ public class TeaVMTool implements BaseTeaVMTool {
try (Writer sourceMapsOut = new OutputStreamWriter(new FileOutputStream(sourceMapsFile), "UTF-8")) { try (Writer sourceMapsOut = new OutputStreamWriter(new FileOutputStream(sourceMapsFile), "UTF-8")) {
debugInfo.writeAsSourceMaps(sourceMapsOut, "src", getResolvedTargetFileName()); debugInfo.writeAsSourceMaps(sourceMapsOut, "src", getResolvedTargetFileName());
} }
generatedFiles.add(sourceMapsFile);
log.info("Source maps successfully written"); log.info("Source maps successfully written");
} }
if (sourceFilesCopied) { if (sourceFilesCopied) {