Bit VS Code 扩展在将新文件添加到被跟踪的组件时,显示错误的"未跟踪文件依赖项",错误中包含原始 ANSI 逃逸代码(重新加载会清除此错误)
作者: rvnlord创建于 2026年9月9日更新于 2026年9月15日
标签type/bug
False positive – stale snapshot in the bit-server
The extension does not spawn the CLI per call; it keeps a long-lived bit-server-forever process and calls POST /api/cli/mini-status with
{ showIssues: true, ignoreCircularDependencies: true } (bitClient.miniStatus / miniStatusOneComp). The server resolves every dependency file to a component via consumer.bitMap.getComponentIdByPath(path) (@teambit/legacy.bit-map), and that map is built **only from the component.files snapshot present when…
内容来源: teambit/bit