mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fire n forget error handling
This commit is contained in:
parent
05093529bb
commit
989be56f4b
1 changed files with 6 additions and 2 deletions
|
|
@ -48,10 +48,14 @@ export class LLMFileAccessController {
|
|||
// Watch for changes and updates
|
||||
this.disposables.push(
|
||||
this.fileWatcher.onDidChange(() => {
|
||||
this.loadCustomPatterns()
|
||||
this.loadCustomPatterns().catch((error) => {
|
||||
console.error("Failed to load updated .clineignore patterns:", error)
|
||||
})
|
||||
}),
|
||||
this.fileWatcher.onDidCreate(() => {
|
||||
this.loadCustomPatterns()
|
||||
this.loadCustomPatterns().catch((error) => {
|
||||
console.error("Failed to load new .clineignore patterns:", error)
|
||||
})
|
||||
}),
|
||||
this.fileWatcher.onDidDelete(() => {
|
||||
this.resetToDefaultPatterns()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue