kopia lustrzana https://github.com/simonw/datasette
Clearer help text for --reload
Immutable databases are not commonly used, but it's useful to clarify that --reload will pick up on changes to metadata.pull/1303/head
rodzic
7b1a9a1999
commit
87b583a128
|
@ -66,7 +66,7 @@ Now visiting http://localhost:8001/History/downloads will show you a web interfa
|
|||
allowed. Use 0.0.0.0 to listen to all IPs and
|
||||
allow access from other machines.
|
||||
-p, --port INTEGER Port for server, defaults to 8001
|
||||
--reload Automatically reload if database or code change
|
||||
--reload Automatically reload if code or metadata change
|
||||
detected - useful for development
|
||||
--cors Enable CORS by serving Access-Control-Allow-
|
||||
Origin: *
|
||||
|
|
|
@ -336,7 +336,7 @@ def uninstall(packages, yes):
|
|||
@click.option(
|
||||
"--reload",
|
||||
is_flag=True,
|
||||
help="Automatically reload if database or code change detected - useful for development",
|
||||
help="Automatically reload if code or metadata change detected - useful for development",
|
||||
)
|
||||
@click.option(
|
||||
"--cors", is_flag=True, help="Enable CORS by serving Access-Control-Allow-Origin: *"
|
||||
|
|
|
@ -14,7 +14,7 @@ Options:
|
|||
-p, --port INTEGER RANGE Port for server, defaults to 8001. Use -p 0 to automatically
|
||||
assign an available port.
|
||||
|
||||
--reload Automatically reload if database or code change detected -
|
||||
--reload Automatically reload if code or metadata change detected -
|
||||
useful for development
|
||||
|
||||
--cors Enable CORS by serving Access-Control-Allow-Origin: *
|
||||
|
|
Ładowanie…
Reference in New Issue