docsifyjs / docsifyjs/docsify-cli

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

Aperta
#253 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
782
Fork
166
Merge medio
10h 49m
PR unite (30g)
1

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.