MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / reloadPackageMap

Method reloadPackageMap

src/debug/web_debug_impl.ts:183–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 private reloadPackageMap(): void {
184 // Reload the package map in case the user modified the packages.
185 // https://github.com/Dart-Code/Dart-Code/issues/4076.
186 this.packageMap?.reload();
187 }
188
189 private async performReload(hotRestart: boolean, args?: { reason: string, debounce?: boolean }): Promise<any> {
190 if (!this.appHasStarted || !this.currentRunningAppId || !this.runDaemon)

Callers 2

restartRequestMethod · 0.95
customRequestMethod · 0.95

Calls 1

reloadMethod · 0.45

Tested by

no test coverage detected