prettier output for pwsh watch

master
lub 1 year ago
parent 2c11cf741f
commit 8dea4a7f88

@ -120,8 +120,12 @@ function watch {
while ($true) {
$o = Invoke-Command -ScriptBlock $ScriptBlock
Clear-Host
'Watching {'+$ScriptBlock+'} '+(Get-Date)
''
$o
Start-Sleep -Seconds $n
}
}

Loading…
Cancel
Save