docsifyjs / docsifyjs/docsify-cli

livereload not (reliably) working with devcontainers that share the same uniform port configuration when forwarding ports to host

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

描述

As a developer who uses devcontainers a lot I have to reuse the same devcontainer features sets as much as possible in order to avoid long devcontainer build times as well as storage explosion -- by sharing a uniform configuration of a single docsify server port instead of two (the second for livereload/hot reloading).

The problem is "a choice between the devil and the deep blue sea":
- either have a uniform docsify port configuration (such as 3300) across all my devcontainer configuration, as mandated by company policy, and have livereloading broken because the devcontainer's livereload port is never the same port number as the forwarded livereload port;
- or configure each and every devcontainer differently in order to use unique ports, which is not only cumbersome and error-prone, but blocked many times by company policies.

Please integrate the livereload port into a single contents+livereload notifications port. Other tools allow this for a long time. Thank you!

貢獻指南

開啟貢獻指南

研究方向

No files or tests are named. Trace the docsify CLI entry points that configure the docsify server, forwarded ports, and livereload notifications, then determine how a single shared port can serve both contents and reload events. Done means livereload works reliably when devcontainers forward one uniform port.

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

評估

技術堆疊
javascript, node.js
領域
cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
45/100

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

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