I am trying to control a file using Get-Content $path -wait in Windows Powershell V3.0. Sometimes, when I run this command line in Powershell, it will function properly. But sometimes it will execute (or at least seem to) get-content , but without the -wait parameter. Although the file is being updated, it will not be shown in Powershell. If I cancel the command and repeat it, it will show the updated contents of the file.
What do I need to do?
EDIT: It seems to update the blocks after a while. But it really is not in real time.
source share