public async ValueTask RestartAsync(CancellationToken cancellationToken) { WriteToOutputWindow(VSResources.HotReloadRestartInProgress); await _callback.RestartProjectAsync(cancellationToken); // TODO: Should we stop the session here? Or does someone else do it? // TODO: Should we handle rebuilding here? Or do we expect the callback to handle it? }
public async ValueTask RestartAsync(CancellationToken cancellationToken) { WriteToOutputWindow( new HotReloadLogMessage( HotReloadVerbosity.Minimal, VSResources.HotReloadRestartInProgress, Name, _variant ), cancellationToken); await _callback.RestartProjectAsync(cancellationToken); // TODO: Should we stop the session here? Or does someone else do it? // TODO: Should we handle rebuilding here? Or do we expect the callback to handle it? }