Log intermediate output from stdout and stderr

I changed the task to log output as it comes back from the spawned processes instead of when the processes exit so that this task can be used in conjunction with long running tasks like watch or a preview server.