Closed PeachScript closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b4bd2bb
) 94.43% compared to head (645fc9e
) 94.43%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
修复在某些特殊文件系统(比如 CloudIDE)中会 watch 到临时文件,然后尝试读取导致报错的问题,错误类似:
解法是使用
awaitWriteFinish
等文件稳定了再触发事件,目前检测时间间隔设置得很小,所以对 watch 性能的影响应该较小