sandbox - implement non-recursive watch support (#132282)

This commit is contained in:
Benjamin Pasero
2021-10-20 08:56:34 +02:00
parent 2ae9352ae3
commit 2f795d34ee
8 changed files with 430 additions and 248 deletions

View File

@@ -564,8 +564,8 @@ export class CodeApplication extends Disposable {
// Local Files
const diskFileSystemProvider = this.fileService.getProvider(Schemas.file);
assertType(diskFileSystemProvider instanceof DiskFileSystemProvider);
const fileSystemProviderChannel = new DiskFileSystemProviderChannel(diskFileSystemProvider);
mainProcessElectronServer.registerChannel('localFiles', fileSystemProviderChannel);
const fileSystemProviderChannel = new DiskFileSystemProviderChannel(diskFileSystemProvider, this.logService);
mainProcessElectronServer.registerChannel('diskFiles', fileSystemProviderChannel);
// Configuration
mainProcessElectronServer.registerChannel(UserConfigurationFileServiceId, ProxyChannel.fromService(new UserConfigurationFileService(this.environmentMainService, this.fileService, this.logService)));