You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to run the server in reload mode for debugging. It is possible to do this with FastAPI and uvicorn with the uvicorn --reload option. It is possible to send uvicorn this option via the config.yml as follows:
uvicorn:
reload: true
However, tiled serve is not setup correctly to allow for this to work. Here is the error returned when uvicorn:reload:true:
[-] WARNING: You must pass the application as an import string to enable 'reload' or 'workers'.
The text was updated successfully, but these errors were encountered:
Looking at the tiled.commandline._serve file, this may be more complex to change, due to the creation of the custom web_app object being dynamically generated with build_app rather than a direct import
It would be nice to run the server in reload mode for debugging. It is possible to do this with FastAPI and uvicorn with the uvicorn
--reload
option. It is possible to send uvicorn this option via the config.yml as follows:However,
tiled serve
is not setup correctly to allow for this to work. Here is the error returned whenuvicorn:reload:true
:The text was updated successfully, but these errors were encountered: