| ... | @@ -416,7 +416,8 @@ pub fn evalZigProcess( | ... | @@ -416,7 +416,8 @@ pub fn evalZigProcess( |
| 416 | assert(watch); | 416 | assert(watch); |
| 417 | if (std.Progress.have_ipc) if (zp.progress_ipc_fd) |fd| prog_node.setIpcFd(fd); | 417 | if (std.Progress.have_ipc) if (zp.progress_ipc_fd) |fd| prog_node.setIpcFd(fd); |
| 418 | const result = zigProcessUpdate(s, zp, watch, web_server, gpa) catch |err| switch (err) { | 418 | const result = zigProcessUpdate(s, zp, watch, web_server, gpa) catch |err| switch (err) { |
| 419 | error.BrokenPipe => { | 419 | error.BrokenPipe, error.EndOfStream => |reason| { |
| | 420 | std.log.info("{s} restart required: {t}", .{ argv[0], reason }); |
| 420 | // Process restart required. | 421 | // Process restart required. |
| 421 | const term = zp.child.wait(io) catch |e| { | 422 | const term = zp.child.wait(io) catch |e| { |
| 422 | return s.fail("unable to wait for {s}: {t}", .{ argv[0], e }); | 423 | return s.fail("unable to wait for {s}: {t}", .{ argv[0], e }); |