aboutsummaryrefslogtreecommitdiff
path: root/src/cli/dev_command.zig
blob: 9fb846fe707397a27a15dfe3b98a0f5208810d06 (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("root").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);
    }
};