MCPcopy
hub / github.com/ritwickdey/vscode-live-server / ToggleStatusBar

Method ToggleStatusBar

src/appModel.ts:187–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 }
186
187 private ToggleStatusBar() {
188 if (!this.IsServerRunning) {
189 StatusbarUi.Offline(this.runningPort || Config.getPort);
190 }
191 else {
192 StatusbarUi.Live();
193 }
194
195 this.IsServerRunning = !this.IsServerRunning;
196 }
197
198 private haveAnySupportedFile() {
199 return new Promise<void>(resolve => {

Callers 2

GoliveMethod · 0.95
GoOfflineMethod · 0.95

Calls 2

OfflineMethod · 0.80
LiveMethod · 0.80

Tested by

no test coverage detected