From 161e22d6e0d29168c8ce63805c5179629b9a0604 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 6 Nov 2023 00:26:53 -0300 Subject: [PATCH] fix: compile initial state on page load Fixes issue #45. --- src/components/TealPlayground.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/TealPlayground.vue b/src/components/TealPlayground.vue index bacd007..32ddbf7 100644 --- a/src/components/TealPlayground.vue +++ b/src/components/TealPlayground.vue @@ -116,6 +116,7 @@ const TealPlayground = Vue.extend({ if (isInput) { this.editorInput = editor + compilerWorker.postMessage(['compile', this.input]) } else { this.editorOutput = editor }