Skip to content

Commit

Permalink
fix: name and plugin table printing on livereload (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfraney authored Dec 13, 2024
1 parent 4f779d9 commit 2509cc1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions blurry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,9 @@ async def write_html_file(
async def build(release=True):
"""Generates HTML content from Markdown files."""

print_blurry_name()
print_plugin_table()
if release:
print_blurry_name()
print_plugin_table()

update_settings()
jinja_env = get_jinja_env()
Expand Down Expand Up @@ -281,6 +282,9 @@ async def reload_local_plugins_and_build():
@app.command()
def runserver():
"""Starts HTTP server with live reloading."""
print_blurry_name()
print_plugin_table()

update_settings()
os.environ.setdefault(f"{ENV_VAR_PREFIX}BUILD_MODE", "dev")

Expand Down

0 comments on commit 2509cc1

Please sign in to comment.