import { Command } from '../util/commandManager' ; import { RSTPreviewManager } from '../preview/previewManager' ; export class RefreshPreviewCommand implements Command { public readonly id = 'restructuredtext.preview.refresh' ; public constructor ( private readonly webviewManager ) { } public execute ( ) { this . webviewManager . refresh ( ) ; } }