src/vs/platform/files/node/watcher/watcher.ts/toFileChanges
export function toFileChanges(changes: IDiskFileChange[]): IFileChange[] {
	return changes.map(change => ({
		type: change.type,
		resource: uri.file(change.path)
	}));
}