mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 22:16:08 +00:00
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:
parent
f01abb86f5
commit
94a325fcbc
@ -104,7 +104,7 @@ pub fn run(
|
|||||||
// HACK: This currenly doesn't restart the server when it exits, maybe that
|
// HACK: This currenly doesn't restart the server when it exits, maybe that
|
||||||
// could be implemented in the future.
|
// could be implemented in the future.
|
||||||
|
|
||||||
awaitFileChange(allocator, cwd, mtime);
|
try awaitFileChange(allocator, cwd, &mtime);
|
||||||
std.debug.print("Changes detected, restarting server...\n", .{});
|
std.debug.print("Changes detected, restarting server...\n", .{});
|
||||||
_ = try process.kill();
|
_ = try process.kill();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user