windows:

Get-Item -Path "D:\phpstudy_pro\Extensions\php\php_errors.log" | Get-Content -Wait -Tail 30  

linux: