Skip to content

Commit

Permalink
Cli: Fix bad code
Browse files Browse the repository at this point in the history
Silly me, made some dumb mistakes. Welp, here's a commmit to fix all of
that!
  • Loading branch information
Froxcey committed Mar 26, 2024
1 parent f01abb8 commit 94a325f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/server.zig
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub fn run(
// HACK: This currenly doesn't restart the server when it exits, maybe that
// could be implemented in the future.

awaitFileChange(allocator, cwd, mtime);
try awaitFileChange(allocator, cwd, &mtime);
std.debug.print("Changes detected, restarting server...\n", .{});
_ = try process.kill();
}
Expand Down

0 comments on commit 94a325f

Please sign in to comment.