Skip to content

reload does not work when launched with option --log-level error #327

@cdar

Description

@cdar

First of all, mega interesting project! Thank you :)

Launch command:
shiny run --reload --log-level error

Result:
When code changes, web page gets greyed out and not responsive.

Possible origin of the problem:
https://github.com/rstudio/py-shiny/blob/f2689a38a97f7e37030efbaf6f6ebb79f13faa8f/shiny/_autoreload.py#L56
is not called when log-level is above info, because of
https://github.com/rstudio/py-shiny/blob/f2689a38a97f7e37030efbaf6f6ebb79f13faa8f/shiny/_main.py#L249

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions