cc-team-viewer 1.5.6 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proxy/interceptor.js +1 -1
package/package.json
CHANGED
package/proxy/interceptor.js
CHANGED
|
@@ -81,7 +81,7 @@ function setupTeamConfigWatcher() {
|
|
|
81
81
|
if (teamsDirWatcher) return; // 已经启动了监听器
|
|
82
82
|
const teamsDir = join(homedir(), '.claude', 'teams');
|
|
83
83
|
|
|
84
|
-
//
|
|
84
|
+
if (!existsSync(teamsDir)) return; // 目录不存在时跳过,避免 ENOENT
|
|
85
85
|
try {
|
|
86
86
|
teamsDirWatcher = watch(teamsDir, { recursive: true }, (eventType, filename) => {
|
|
87
87
|
// 监听所有 config.json 文件的变化
|