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
{{ message }}
Repository navigation
WatchFiles detects changes in directory that is not in --reload-dir
#2121
The reload dir is ./src/backend but the watcher is triggered on changes in Python files outside that directory, such as cdk.out
I think this might be a bug or otherwise could someone point me in the right direction?
INFO: Will watch for changes in these directories: ['/home/user/project/src/backend']
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [22776] using WatchFiles
INFO: Started server process [22778]
INFO: Waiting for application startup.
INFO: Application startup complete.
WARNING: WatchFiles detected changes in 'cdk.out/asset.1be7d395f6ae6604c90754be6e5995ceb18a07f207d2f9262df33affa93e8148/lambda-python-handler.py'. Reloading...
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [22778]
INFO: Started server process [22922]
INFO: Waiting for application startup.
INFO: Application startup complete.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello, I am running uvicorn like this:
The reload dir is
./src/backendbut the watcher is triggered on changes in Python files outside that directory, such ascdk.outI think this might be a bug or otherwise could someone point me in the right direction?
All reactions