diff options
| author | 2021-11-02 18:07:11 -0700 | |
|---|---|---|
| committer | 2021-11-02 18:07:11 -0700 | |
| commit | 204d468ad2b71cc3c455c5488167dc734ffe8b41 (patch) | |
| tree | 6a4fe5d039046916e588a39d48bdb0d460697010 /src/cli/dev_command.zig | |
| parent | fbb03425113bbe7f77e161d6f82ef473b0abe2dd (diff) | |
| download | bun-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.zig | 4 |
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); - } }; |
