<p dir="auto">I am currently in the process of writing an extension that uses an output channel that is outputting live logs from an Azure Website from their Kudu APIs.</p>
<p dir="auto">Currently the only way that the HTTP request will end is when the logstream API service times out after 20 minutes, I would much prefer to have the <code class="notranslate">outputChannel</code> have an event for <code class="notranslate">onHide</code> so that when the user hides/closes the outputChannel that the request stops processing, rather than further messages being pushed into it when it is not visible &amp; that the user will need to re-invoke the extension to get new log messages</p>
<p dir="auto">We are using chokidar for file watching. Chokidar is known for performing bad over large folders (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="120614103" data-permission-text="Title is private" data-url="https://github.com/paulmillr/chokidar/issues/410" data-hovercard-type="issue" data-hovercard-url="/paulmillr/chokidar/issues/410/hovercard" href="https://github.com/paulmillr/chokidar/issues/410">paulmillr/chokidar#410</a>). To investigate:</p>
<ul dir="auto">
<li>can we consume a newer version of chokidar with the scalability issue fixed</li>
<li>can we change our watching strategy to only watch what we need instead of always watching root</li>
<li>can we switch to another watching library that is more efficient</li>
</ul>
<p dir="auto"><strong>Workaround</strong>:<br>
Find the large folders in your workspace and add them under the <code class="notranslate">files.watcherExclude</code> setting</p>