ignores implicitly for no good reason.
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 50/100
調査の方向性
Reproduce the minimal Flask setup using server.watch('./templates/*.html') and observe the handlers log, especially the Ignore entry for ./templates\index.html. Trace how server.watch() handles the template path and make edits to index.html trigger a browser reload instead of being ignored.
索引モデルが issue の本文から書いたものです。
説明
I've tried to set it up with Flask and get it going for a really basic scenario. Apart from crashing anytime I edit any of the .py files, it ignores the html file I'm interested in, disregarding what I add to server.watch().
Here's the minimal setup:
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def hello():
return render_template('index.html')
if __name__ == '__main__':
from livereload import Server
server = Server(app.wsgi_app)
server.watch('./templates/*.html')
server.serve(debug=True)
folder structure:
app.py
templates/index.html
Example stacktrace:
[I 221121 18:13:30 server:335] Serving on http://127.0.0.1:5500
[I 221121 18:13:30 handlers:62] Start watching changes
[I 221121 18:13:30 handlers:64] Start detecting changes
[I 221121 18:13:31 handlers:135] Browser Connected: http://127.0.0.1:5500/
[I 221121 18:13:31 handlers:135] Browser Connected: http://127.0.0.1:5500/
[I 221121 18:13:32 handlers:82] Ignore: ./templates\index.html
[I 221121 18:13:33 handlers:92] Reload 2 waiters: None
[I 221121 18:13:34 handlers:135] Browser Connected: http://127.0.0.1:5500/
- 主要言語
- Python
- スター
- 1.1k
- フォーク
- 148
- 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
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
MystenLabs/MemWal#1163 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
infertopics leaves new nodes without a topic when untopiced neighbours outnumber topiced ones対応中かも @moneebullah25 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
FinanceFlash/unvibecode#218 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NVIDIA/earth2studio#1241 ·
メンテナーはふだん 3 日以内に返信