diff --git a/cli/commands/server.zig b/cli/commands/server.zig index 915677d..cb195ef 100644 --- a/cli/commands/server.zig +++ b/cli/commands/server.zig @@ -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(); }