Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change event is not emitted on Windows when continuously appending to an initially existing file #164

Open
bersbersbers opened this issue Jan 23, 2024 · 0 comments

Comments

@bersbersbers
Copy link

Originally posted in microsoft/vscode#202446

Steps to Reproduce:

In the VS Code Terminal

  1. echo 1 > output.log (and wait >1s)
  2. code output.log
  3. (for /l %f in () do @echo 1) >> output.log

File does not auto-reload until editor is re-focused.

This is similar to microsoft/vscode#93277, and I observe similar behavior in paulmillr/chokidar#1297.

I rarely use node, so I did not test reproduction using this code. However, bpasero wrote in microsoft/vscode#202446 (comment):

I am able to reproduce with the file watching library already, so please report this over at https://github.com/parcel-bundler/watcher

This is what I am doing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant