Merge pull request #37 from Froxcey/main

Cli: Fix bad code
This commit is contained in:
bobf 2024-03-26 06:57:04 +00:00 committed by GitHub
commit 1820272ad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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