-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Description of the Issue
"Monitoring (tail-f)" feature doesn't work when writing to a file without closing it.
It doesn't update the view until file is closed.
Steps to Reproduce the Issue
Instructions are given for python, for simplicity, but it's not specific for python
- Open python in interactive mode:
python -iThen type:
f = open('test.txt', 'w')- Open file 'test.txt' in Notepad++ and click "Monitoring (tail -f)", the "eye" button.
- Continue in python session, keeping eye on the notepad++ window:
f.write('hey')
f.flush()- Nothing happens in the Notepad++ (but the message is in file, you can open it with notepad.exe, for example, and check)
- Again in python:
f.close()- Now the message appears in the Notepad++
Expected Behavior
Notepad++ should monitor for these changes, even if the writer doesn't close file.
Actual Behavior
Output didn't change, Notepad++ doesn't "see" these updates.
PS:
tail -f actually behaves correctly in this scenario.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels