aboutsummaryrefslogtreecommitdiff
path: root/src/cli/dev_command.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-02 18:07:11 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-02 18:07:11 -0700
commit204d468ad2b71cc3c455c5488167dc734ffe8b41 (patch)
tree6a4fe5d039046916e588a39d48bdb0d460697010 /src/cli/dev_command.zig
parentfbb03425113bbe7f77e161d6f82ef473b0abe2dd (diff)
downloadbun-204d468ad2b71cc3c455c5488167dc734ffe8b41.tar.gz
bun-204d468ad2b71cc3c455c5488167dc734ffe8b41.tar.zst
bun-204d468ad2b71cc3c455c5488167dc734ffe8b41.zip
[internal] Global.configureAllocator()
Diffstat (limited to 'src/cli/dev_command.zig')
-rw-r--r--src/cli/dev_command.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/dev_command.zig b/src/cli/dev_command.zig
index 91dee1bbc..46c4a0e3c 100644
--- a/src/cli/dev_command.zig
+++ b/src/cli/dev_command.zig
@@ -1,9 +1,9 @@
const Server = @import("../http.zig").Server;
const Command = @import("../cli.zig").Command;
-
+const Global = @import("../global.zig").Global;
pub const DevCommand = struct {
pub fn exec(ctx: Command.Context) !void {
+ Global.configureAllocator(.{ .long_running = true });
try Server.start(ctx.allocator, ctx.args, @TypeOf(ctx.debug), ctx.debug);
-
}
};