diff --git a/shell.nix b/shell.nix index 60a2fba..91cc8fe 100644 --- a/shell.nix +++ b/shell.nix @@ -139,9 +139,9 @@ pkgs.mkShell { local node=${"\${nodes[i]}"} if ! kill -0 "$pid" 2>/dev/null; then - # Process finished, display its output + # Output is only displayed when the process end if [ -f "$tmpdir/$node.log" ]; then - cat "$tmpdir/$node.log" + cat "$tmpdir/$node.log" fi unset 'pids[i]' unset 'nodes[i]'