Merge pull request #45 from axispx/cli-reload

Print message when server detects changes after build failure
This commit is contained in:
rimuspp 2024-03-28 00:07:53 -05:00 committed by GitHub
commit a702d1235b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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