This commit is contained in:
Jarred Sumner
2024-02-01 00:38:03 -08:00
parent 989edb99ed
commit 65c6ace259
5 changed files with 267 additions and 95 deletions

View File

@@ -826,7 +826,7 @@ pub const VirtualMachine = struct {
bun.reloadProcess(bun.default_allocator, !strings.eqlComptime(this.bundler.env.map.get("BUN_CONFIG_NO_CLEAR_TERMINAL_ON_RELOAD") orelse "0", "true"));
}
if (!strings.eqlComptime(this.bundler.env.map.get("BUN_CONFIG_NO_CLEAR_TERMINAL_ON_RELOAD") orelse "0", "true")) {
if (!strings.eqlComptime(this.bundler.env.get("BUN_CONFIG_NO_CLEAR_TERMINAL_ON_RELOAD") orelse "0", "true")) {
Output.flush();
Output.disableBuffering();
Output.resetTerminalAll();