Do not use native Proxy as it breaks debugging vscode

This commit is contained in:
Alex Dima
2016-06-27 17:54:40 +02:00
parent 6114fbc118
commit 9f1e006be5
29 changed files with 384 additions and 208 deletions

View File

@@ -8,14 +8,13 @@ import {FileChangesEvent, FileChangeType} from 'vs/platform/files/common/files';
import {IThreadService} from 'vs/workbench/services/thread/common/threadService';
import {IEventService} from 'vs/platform/event/common/event';
import {RunOnceScheduler} from 'vs/base/common/async';
import {ExtHostContext} from './extHostProtocol';
import {FileSystemEvents} from './extHostFileSystemEventService';
import {ExtHostContext, ExtHostFileSystemEventServiceShape, FileSystemEvents} from './extHostProtocol';
export class MainThreadFileSystemEventService {
constructor( @IEventService eventService: IEventService, @IThreadService threadService: IThreadService) {
const proxy = threadService.get(ExtHostContext.ExtHostFileSystemEventService);
const proxy: ExtHostFileSystemEventServiceShape = threadService.get(ExtHostContext.ExtHostFileSystemEventService);
const events: FileSystemEvents = {
created: [],
changed: [],