docsifyjs / docsifyjs/docsify-cli

`serve` command try to watch node_modules

未關閉
#31 3 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
782
分支
166
平均合併
10 小時 49 分鐘
30 天內合併 PR
1

描述

the `serve` command try to watch all the files in the serving directory, including the `node_modules`, what results in `ENOSPC` error on linux when trying to watch too many files.
Source for the bug: facebook/jest#3254

exclude the `node_modules` directory when watching files.

貢獻指南

開啟貢獻指南

研究方向

從 `serve` 命令的檔案監看設定開始,追蹤服務目錄是如何列舉的。使用包含 `node_modules` 的目錄重現 Linux ENOSPC 情況,然後確認 `node_modules` 會被排除,同時其他檔案仍持續受到監看。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, node.js
領域
cli
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。