vscode icon indicating copy to clipboard operation
vscode copied to clipboard

File automatic refresh does not work when viewing the log file access.log of nginx.

Open fopain opened this issue 7 months ago • 0 comments

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.100.2
  • OS Version: Windows 10 22H2

I am using translation software to write this content, so please forgive me if it’s not clear. Thank you!

I found that when I use VSCode to view the access.log file of Nginx, it doesn’t automatically refresh when I reload the web page.

However, I’ve noticed that this behavior seems to be affected by other operations:

  1. Notepad++: If I enable the tail -f function in Notepad++, everything works fine—the access.log file refreshes automatically.

https://github.com/user-attachments/assets/2d8573f9-b60c-4d24-9b55-cd133bd1c3ee

  1. VSCode Output: If I use the “Import Log...” function in VSCode to import the access.log file, the automatic refresh also works.

https://github.com/user-attachments/assets/ec7bd3cb-1fe7-4a07-b676-96c88a5b682c

fopain avatar May 19 '25 15:05 fopain