summaryrefslogtreecommitdiff
path: root/js/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.ts')
-rw-r--r--js/main.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/main.ts b/js/main.ts
index e927710a7..63d72e87f 100644
--- a/js/main.ts
+++ b/js/main.ts
@@ -37,7 +37,7 @@ export default function denoMain() {
libdeno.setGlobalErrorHandler(onGlobalError);
const compiler = DenoCompiler.instance();
- // First we send an empty "Start" message to let the privlaged side know we
+ // First we send an empty "Start" message to let the privileged side know we
// are ready. The response should be a "StartRes" message containing the CLI
// args and other info.
const startResMsg = sendStart();
@@ -68,5 +68,6 @@ export default function denoMain() {
os.exit(0);
}
+ compiler.recompile = startResMsg.recompileFlag();
compiler.run(inputFn, `${cwd}/`);
}