mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
10 lines
372 B
Zig
10 lines
372 B
Zig
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);
|
|
}
|
|
};
|