aboutsummaryrefslogtreecommitdiff
path: root/src/cli/dev_command.zig
diff options
context:
space:
mode:
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);
-
}
};