contentlayerdev / contentlayerdev/contentlayer

Improve CLI logging messages (e.g. for incremental builds)

Đang mở
#25 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
improvement meta: never-stale
Ngôn ngữ chính
TypeScript
Star
3.5k
Fork
192
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

We should improve the CLI logging messages e.g. in the following cases:

- timing: we should add how long a step has taken (e.g. 50ms to generate 20 documents)
- This should also provide a summary of how time is spent in different remark plugins etc
- Adjust log messages for incremental builds based on file watching. (Currently the log messages indicate that all documents have been re-generated even though just a single file has changed)
- The log messages should also indicate when using cache from file system

Ideally we can even easily test the wanted behaviour above in unit tests.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.