Skip to content

Reloading inside symlinked working dir #581

Answered by gi0baro
quard8 asked this question in Q&A
Discussion options

You must be logged in to vote

In this case we can't use uv correctly, because env is incorrect.

You can change the command to point directly to the granian binary inside the env.

Are there plans to add a working-dir option? :)

No, but you can open a feature request for that :)
I'm not sure it would solve your issue though: Granian relies on the Python import system to load your app. So it's a bit unclear to me if the python path and all that would be correct if we start tampering with the import system.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@quard8
Comment options

@gi0baro
Comment options

@quard8
Comment options

@gi0baro
Comment options

Answer selected by quard8
@quard8
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants