Skip to content

[Feature]: Support file change watching other than in app.py location #2104

@travis-leith

Description

@travis-leith

Category

Dev Tools

Scope

Quality of Life

Problem

When I start the app, I get the message
INFO: Will watch for changes in these directories: [...
It would be nice to be able to add some directories to this. In my case, I am using uv for project management and my app depends on the numerical libraries I am working on which are not in the same directory as the app.
Sometimes I use the running app to validate the numerical libraries. If I need to modify the libs, and see the results, I need to manually restart the shiny app. If I could somehow indicate an additional directory to watch for changes, this would make life easier.

Solution

Somehow enable a config that provides additional watch directories. It would be best if this were compatible with the "run" button in vscode.

Alternatives (Optional)

No response

Example (Optional)

Impact (Optional)

No response

Contribution? (Optional)

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions