Skip to content

Commit

Permalink
Merge pull request #432 from render-engine:kjaymiller/BUG-render_engi…
Browse files Browse the repository at this point in the history
…ne-serve-isnt-building

Fix 'render_engine serve' AttributeError
  • Loading branch information
kjaymiller committed Dec 2, 2023
2 parents b6039a2 + f1f6ec8 commit 1b3cde2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/render_engine/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,32 +292,29 @@ def serve(
reload: Annotated[
bool,
typer.Option(
None,
"--reload",
"-r",
help="Reload the server when files change",
),
],
] = None,
directory: Annotated[
str,
typer.Option(
None,
"--directory",
"-d",
help="Directory to serve",
show_default=False,
),
],
] = None,
port: Annotated[
int,
typer.Option(
8000,
"--port",
"-p",
help="Port to serve on",
show_default=False,
),
],
] = 8000,
):
"""
Create an HTTP server to serve the site at `localhost`.
Expand Down

0 comments on commit 1b3cde2

Please sign in to comment.