Cli: Fix bad code

Silly me, made some dumb mistakes. Welp, here's a commmit to fix all of
that!
This commit is contained in:
Froxcey 2024-03-26 13:52:12 +08:00
parent f01abb86f5
commit 94a325fcbc
No known key found for this signature in database
GPG Key ID: 621379E1D6250388

View File

@ -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();
}