overwrite existing model when building

This commit is contained in:
Moritz Hölting 2024-06-27 00:18:03 +02:00
parent 664dbf4f6b
commit 8e50f01b5a
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
let prevModel = monaco.editor.getModel(uri);
if (prevModel) {
prevModel.setValue(file.content);
} else {