(serverName: string)
| 1701 | } |
| 1702 | |
| 1703 | private removeFileWatchersForServer(serverName: string) { |
| 1704 | const watchers = this.fileWatchers.get(serverName) |
| 1705 | if (watchers) { |
| 1706 | watchers.forEach((watcher) => watcher.close()) |
| 1707 | this.fileWatchers.delete(serverName) |
| 1708 | } |
| 1709 | } |
| 1710 | |
| 1711 | async restartConnection(serverName: string, source?: "global" | "project"): Promise<void> { |
| 1712 | this.isConnecting = true |
no test coverage detected