add option to open specific files in the browser
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start at the livereload command invoked by the tox configuration and trace how its arguments are parsed and how the browser is opened. Implement the requested --open-in-browser mytalk/mytalk.html behavior so the browser uses the live-reload server's host, port, and path; verify the command opens that specific file.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
context, i'm using live-reload to auto-update views on reveal.js presentations in markdown files
so i have a directory tree like
repo:
- assets:
| git submodule pointing to reveal.js
- mytalk:
- mytalk.html
- mytalk.md
- my-othertalk:
...
- tox.ini
where tox.ini just spells something like
[tox]
skipsdist=true
envlist=live
[testenv:live]
skip_install=true
deps =
livereload
commands =
livereload {{posargs}}
i would like to be able to invoke something like
tox -- --open-in-browser mytalk/mytalk.html
to have live-reload open $hostname:$randomport/mytalk/mytalk.html
instead of going to the server and adding the path there
- Ngôn ngữ chính
- Python
- Star
- 1.1k
- Fork
- 149
- 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
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của lepture/python-livereload
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
lepture/python-livereload#159 · 3 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
lepture/python-livereload#288 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
lepture/python-livereload#283 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
lepture/python-livereload#282 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
lepture/python-livereload#279 ·
Tất cả issue của lepture/python-livereload
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 87/100
adri0/scadustats#128 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`TIMESTAMP`, `TIMESTAMP_NTZ`, `TINYINT` and the other `TypeDecorator`s don't declare `python_type`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
RPBCĐang mởawaiting policy acceptance precheck-passed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Bioconductor/BiocContributions#240 · 1 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue launch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
FlologixAI/etchwork#4 ·