Print message when server detects changes after build failure

This commit is contained in:
axispx 2024-03-28 10:00:17 +05:45
parent d368850b1c
commit 397e76b2d0

View File

@ -70,6 +70,7 @@ pub fn run(
) catch { ) catch {
std.debug.print("Build failed, waiting for file change...\n", .{}); std.debug.print("Build failed, waiting for file change...\n", .{});
try awaitFileChange(allocator, cwd, &mtime); try awaitFileChange(allocator, cwd, &mtime);
std.debug.print("Changes detected, restarting server...\n", .{});
continue; continue;
}; };