Removed --debug option, which didn't do anything - closes #814

This commit is contained in:
Simon Willison 2020-10-10 16:39:38 -07:00
commit 7e70643852
5 changed files with 1 additions and 9 deletions

View file

@ -286,9 +286,6 @@ def uninstall(packages, yes):
default=8001,
help="Port for server, defaults to 8001. Use -p 0 to automatically assign an available port.",
)
@click.option(
"--debug", is_flag=True, help="Enable debug mode - useful for development"
)
@click.option(
"--reload",
is_flag=True,
@ -366,7 +363,6 @@ def serve(
immutable,
host,
port,
debug,
reload,
cors,
sqlite_extensions,
@ -417,7 +413,7 @@ def serve(
kwargs = dict(
immutables=immutable,
cache_headers=not debug and not reload,
cache_headers=not reload,
cors=cors,
inspect_data=inspect_data,
metadata=metadata_data,