diff --git a/index.js b/index.js index 8c6cda2689..db4cfe3a30 100644 --- a/index.js +++ b/index.js @@ -36,6 +36,7 @@ rust.then(m => { window.evaluate = m.evaluate; editor.getModel().onDidChangeContent(inputHandler); + inputHandler(); // Evaluate initial code }); function inputHandler(evt) {