aboutsummaryrefslogtreecommitdiff
path: root/src/cli/dev_command.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-25 17:04:32 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-25 17:04:32 -0700
commit5691bf385bd0063dd8145b13420fed5b38815c13 (patch)
tree48ca8ae0f2092169c89735c35fb12bdd70aba177 /src/cli/dev_command.zig
parenta149f0abb979ac4e03e7a47bfdf336e4b8363e65 (diff)
downloadbun-5691bf385bd0063dd8145b13420fed5b38815c13.tar.gz
bun-5691bf385bd0063dd8145b13420fed5b38815c13.tar.zst
bun-5691bf385bd0063dd8145b13420fed5b38815c13.zip
[.env loader] Add CLI flag to dump loaded environment variables as JSON
Diffstat (limited to 'src/cli/dev_command.zig')
-rw-r--r--src/cli/dev_command.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli/dev_command.zig b/src/cli/dev_command.zig
index 6587309b6..91dee1bbc 100644
--- a/src/cli/dev_command.zig
+++ b/src/cli/dev_command.zig
@@ -3,6 +3,7 @@ const Command = @import("../cli.zig").Command;
pub const DevCommand = struct {
pub fn exec(ctx: Command.Context) !void {
- try Server.start(ctx.allocator, ctx.args);
+ try Server.start(ctx.allocator, ctx.args, @TypeOf(ctx.debug), ctx.debug);
+
}
};