Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#253 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript, node.js
Lĩnh vực
cli

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy lần theo các điểm vào của CLI docsify để cấu hình máy chủ docsify, các cổng được chuyển tiếp và các thông báo livereload, sau đó xác định cách một cổng dùng chung duy nhất có thể cung cấp cả nội dung lẫn các sự kiện tải lại. Công việc được coi là hoàn tất khi livereload hoạt động ổn định trong trường hợp devcontainers chuyển tiếp một cổng duy nhất đồng nhất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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!

Ngôn ngữ chính
JavaScript
Star
780
Fork
167
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của docsifyjs/docsify-cli

Tất cả issue của docsifyjs/docsify-cli

Issue tương tự

Thêm issue về JavaScript

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.