mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-12 22:08:04 -05:00
Remove workaround for Microsoft/TypeScript#59831
This has been fixed for a while. We want to avoid having to shim out `os` for browser builds
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { homedir } from 'os';
|
||||
import * as path from 'path';
|
||||
import * as vscode from 'vscode';
|
||||
import { ServiceConfigurationProvider, SyntaxServerConfiguration, TsServerLogLevel, TypeScriptServiceConfiguration, areServiceConfigurationsEqual } from './configuration/configuration';
|
||||
@@ -1043,11 +1042,6 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
||||
if (fpath.startsWith(inMemoryResourcePrefix)) {
|
||||
return;
|
||||
}
|
||||
if (process.platform === 'darwin' && fpath === path.join(homedir(), 'Library')) {
|
||||
// ignore directory watch requests on ~/Library
|
||||
// until microsoft/TypeScript#59831 is resolved
|
||||
return;
|
||||
}
|
||||
|
||||
this.createFileSystemWatcher(
|
||||
(event.body as Proto.CreateDirectoryWatcherEventBody).id,
|
||||
|
||||
Reference in New Issue
Block a user