blob: 77f974e058a8d0f9c91b7e8b83d0aca7410c8645 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
const Server = @import("../http.zig").Server;
const Command = @import("../cli.zig").Command;
const Global = @import("bun").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);
}
};
|