Skip to content

Commit e419cb0

Browse files
committed
refactor: _recreateService will be stop the watcher as well
1 parent 7f72a33 commit e419cb0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/services/code-index/manager.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ export class CodeIndexManager {
275275

276276
// If configuration changes require a restart and the manager is initialized, recreate services and restart
277277
if (requiresRestart && isFeatureEnabled && isFeatureConfigured && this.isInitialized) {
278-
// Stop watcher if it exists
279-
this.stopWatcher()
280-
281278
// kilocode_change start: recreate services with new configuration
282279
await this._recreateServices()
283280
// kilocode_change end

0 commit comments

Comments
 (0)