Set live execution environment for REPL (#11353)

This commit is contained in:
Pavel Marek 2024-10-18 12:07:26 +02:00 committed by GitHub
parent 5f44c512a8
commit f470e9c63c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package org.enso.common;
import java.io.File;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import org.enso.logger.Converter;
import org.enso.logger.JulHandler;
@ -50,7 +51,7 @@ public final class ContextFactory {
private String executionEnvironment;
private String checkForWarnings;
private int warningsLimit = 100;
private java.util.Map<String, String> options = java.util.Collections.emptyMap();
private java.util.Map<String, String> options = new HashMap<>();
private boolean enableDebugServer;
private ContextFactory() {}

View File

@ -960,6 +960,7 @@ public class Main {
.messageTransport(replTransport())
.enableDebugServer(true)
.logLevel(logLevel)
.executionEnvironment("live")
.logMasking(logMasking)
.enableIrCaches(enableIrCaches)
.disableLinting(true)