openvscode-server
openvscode-server copied to clipboard
'createFileSystemWatcher' does not detect changes when source was unzipped
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.84.2
- OS Version: gitpod
Steps to Reproduce:
- Install this example extension: https://github.com/815are/virtualFileWatchIssue.git
- run command
watcherTest: Register global watcherto register global watchers to monitor {}/{*}.js file changes. - Extract temp/testProject.zip by running command
unzip testProject.zip. - Change js file from extracted sources -> testProject\ext\test.js. --> You won't get any notification message upon creation of this file (when it was unzipped) nor in when the file has been changed.
Notes:
- There is code where watchers for js files are registered(using 2 approaches) - https://github.com/815are/virtualFileWatchIssue/blob/main/src/extension.ts#L26-L49
watchers-test-0.0.5.vsixcan be installed as a vsix- Watchers are working fine if you reload window. Problem is that watcher does not work right after unzip.