Open jrieken opened 2 months ago
Possibly a TypeScript bug as the ^
indicates that the file is in-memory file. We shouldn't create any file watchers for it
Couldn't repro this in my testing. @jrieken do you remember what you did to cause this?
I can add defensive code here but would prefer to understand the root cause first
Not 100% sure but I think this happens when one of the code blocks is a valid module. Adding guards to not watch in-memory resources and also filed an issue against TS
Issue marked as unreleased but unable to locate closing commit in issue timeline. You can manually reference a commit by commenting `\closedWith someCommitSha`, or directly add the `insiders-released` label if you know this has already been releaased
verified
in code
@mjbvz this is still happening, it looks like paths can also end with a ^
:
/Users/bpasero/Development/Microsoft/vscode/^
Steps:
EventName.createDirectoryWatcher
and EventName.createFileWatcher
print the paths that get watchedvscode
folder^
comes inI am not sure if its the same path, but I also see /^/review/ts-nul-authority
in my selfhost file watcher logs.
See this in the console of insiders.. Looks like some ad-hoc chat model is ending up being file watched