diff options
Diffstat (limited to 'src/cli/dev_command.zig')
-rw-r--r-- | src/cli/dev_command.zig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cli/dev_command.zig b/src/cli/dev_command.zig index 9fb846fe7..91c9fda3d 100644 --- a/src/cli/dev_command.zig +++ b/src/cli/dev_command.zig @@ -1,8 +1,11 @@ -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 { + if (comptime @import("root").bun.Environment.isWindows) unreachable; + + const Server = @import("../bun_dev_http_server.zig").Server; + const Global = @import("root").bun.Global; Global.configureAllocator(.{ .long_running = true }); try Server.start(ctx.allocator, ctx.args, @TypeOf(ctx.debug), ctx.debug); } |