{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3142","repository_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3142/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3142/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3142/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3142","id":219993116,"node_id":"MDU6SXNzdWUyMTk5OTMxMTY=","number":3142,"title":"\"Monitoring\" doesn't detect changes","user":{"login":"sawlogs","id":2260171,"node_id":"MDQ6VXNlcjIyNjAxNzE=","avatar_url":"https://avatars1.githubusercontent.com/u/2260171?v=4","gravatar_id":"","url":"https://api.github.com/users/sawlogs","html_url":"https://github.com/sawlogs","followers_url":"https://api.github.com/users/sawlogs/followers","following_url":"https://api.github.com/users/sawlogs/following{/other_user}","gists_url":"https://api.github.com/users/sawlogs/gists{/gist_id}","starred_url":"https://api.github.com/users/sawlogs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sawlogs/subscriptions","organizations_url":"https://api.github.com/users/sawlogs/orgs","repos_url":"https://api.github.com/users/sawlogs/repos","events_url":"https://api.github.com/users/sawlogs/events{/privacy}","received_events_url":"https://api.github.com/users/sawlogs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2017-04-06T18:38:16Z","updated_at":"2018-07-20T13:36:14Z","closed_at":"2018-02-25T19:37:54Z","author_association":"NONE","body":"<!--- This is a generic template and may not be applicable in all cases. -->\r\n<!--- Try to follow it where possible. -->\r\n\r\n### Description of the Issue\r\n<!--- Provide a more detailed description to the issue itself -->\r\n\"Monitoring (tail-f)\" feature doesn't work when writing to a file without closing it.\r\nIt doesn't update the view until file is closed.\r\n\r\n### Steps to Reproduce the Issue\r\n<!--- Set of steps to reproduce this issue -->\r\nInstructions are given for python, for simplicity, but it's not specific for python\r\n1. Open python in interactive mode:\r\n```bash\r\npython -i\r\n```\r\nThen type:\r\n```python\r\nf = open('test.txt', 'w')\r\n```\r\n2. Open file 'test.txt' in Notepad++ and click \"Monitoring (tail -f)\", the \"eye\" button.\r\n3. Continue in python session, keeping eye on the notepad++ window:\r\n```python\r\nf.write('hey')\r\nf.flush()\r\n```\r\n4. Nothing happens in the Notepad++ (but the message _is_ in file, you can open it with notepad.exe, for example, and check)\r\n5. Again in python:\r\n```python\r\nf.close()\r\n```\r\n6. Now the message appears in the Notepad++\r\n\r\n### Expected Behavior\r\n<!--- What did you expect to happen -->\r\nNotepad++ should monitor for these changes, even if the writer doesn't close file.\r\n\r\n### Actual Behavior\r\n<!--- What actually happend -->\r\nOutput didn't change, Notepad++ doesn't \"see\" these updates.\r\n\r\n### PS:\r\n`tail -f` actually behaves correctly in this scenario."},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/406602692","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3142#issuecomment-406602692","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3142","id":406602692,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjYwMjY5Mg==","user":{"login":"nothingface0","id":8612771,"node_id":"MDQ6VXNlcjg2MTI3NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/8612771?v=4","gravatar_id":"","url":"https://api.github.com/users/nothingface0","html_url":"https://github.com/nothingface0","followers_url":"https://api.github.com/users/nothingface0/followers","following_url":"https://api.github.com/users/nothingface0/following{/other_user}","gists_url":"https://api.github.com/users/nothingface0/gists{/gist_id}","starred_url":"https://api.github.com/users/nothingface0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nothingface0/subscriptions","organizations_url":"https://api.github.com/users/nothingface0/orgs","repos_url":"https://api.github.com/users/nothingface0/repos","events_url":"https://api.github.com/users/nothingface0/events{/privacy}","received_events_url":"https://api.github.com/users/nothingface0/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T13:36:14Z","updated_at":"2018-07-20T13:36:14Z","author_association":"NONE","body":"Is there some way to re-open it? Sorry, I'm not that accustomed to github issues. "}}
{"actor":{"display_login":"nothingface0"}}