overwrite existing model when building
This commit is contained in:
parent
664dbf4f6b
commit
8e50f01b5a
|
@ -0,0 +1,4 @@
|
||||||
|
let prevModel = monaco.editor.getModel(uri);
|
||||||
|
if (prevModel) {
|
||||||
|
prevModel.setValue(file.content);
|
||||||
|
} else {
|
Loading…
Reference in New Issue