diff --git a/app/Http/Livewire/Project/Shared/GetLogs.php b/app/Http/Livewire/Project/Shared/GetLogs.php
index 90983785d..e82f20497 100644
--- a/app/Http/Livewire/Project/Shared/GetLogs.php
+++ b/app/Http/Livewire/Project/Shared/GetLogs.php
@@ -33,9 +33,11 @@ public function getLogs($refresh = false)
if ($refresh) {
$this->outputs = '';
}
- Process::run($sshCommand, function (string $type, string $output) {
- $this->doSomethingWithThisChunkOfOutput($output);
- });
+ $command = Process::run($sshCommand);
+ $output = $command->output();
+ $error = $command->errorOutput();
+ $this->doSomethingWithThisChunkOfOutput($output);
+ $this->doSomethingWithThisChunkOfOutput($error);
}
}
public function render()
diff --git a/resources/css/app.css b/resources/css/app.css
index ee4ec7b77..76d7f19a5 100644
--- a/resources/css/app.css
+++ b/resources/css/app.css
@@ -121,3 +121,6 @@ .buyme {
.subtitle {
@apply pt-2 pb-10;
}
+.fullscreen {
+ @apply fixed top-0 left-0 w-full h-full z-[9999] bg-coolgray-200;
+}
diff --git a/resources/views/livewire/project/shared/get-logs.blade.php b/resources/views/livewire/project/shared/get-logs.blade.php
index eed8f143b..3514d4cdb 100644
--- a/resources/views/livewire/project/shared/get-logs.blade.php
+++ b/resources/views/livewire/project/shared/get-logs.blade.php
@@ -14,10 +14,23 @@