@imported stylesheets reloaded relative to html document not relative to parent stylesheet, resulting in 404
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
調査の方向性
Start with the reproduction using index.html, css/style.css, and css/import.css, then trace how Server.watch and serve handle the imported stylesheet. Verify the reload request preserves the parent stylesheet's css/ path, and confirm touching css/import.css no longer requests /import.css.
索引モデルが issue の本文から書いたものです。
説明
$ cat index.html
<!DOCTYPE html>
<html><head><link rel="stylesheet" href="css/style.css" type="text/css"></head><body></body></html>
$ cat css/style.css
@import url("import.css")
$ cat css/import.css
/* imported */
$ python3 -c 'from livereload import Server, shell; server = Server(); server.watch("."); server.serve();'
[I 210604 10:20:55 server:335] Serving on http://127.0.0.1:5500
When I now do touch css/import.css, livereload attempts to reload /import.css?livereload=1622798509993 instead of /css/import.css?livereload=1622798509993.
- 主要言語
- Python
- スター
- 1.1k
- フォーク
- 149
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lepture/python-livereload のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
lepture/python-livereload#159 · リアクション 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
lepture/python-livereload#288 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
lepture/python-livereload#283 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
lepture/python-livereload#282 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
lepture/python-livereload#279 ·
lepture/python-livereload の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
danparshall/claude_researcher#87 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
datajoint/datajoint-python#1586 ·
メンテナーはふだん 1 日以内に返信
-
1D intercept of length 1 is accepted as `fix_params` in population GLM with more than 1 unit対応中かも @dhvani7014 が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
flatironinstitute/nemos#642 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
uniswap-python/uniswap-python#487 ·