-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Labels
Description
import functions_framework.aio
from starlette.requests import Request
from starlette.responses import Response
@functions_framework.aio.http
async def main(request: Request) -> Response:
print("Hello world")
return Response(status_code=200)- run functions-framework --target=main --debug
- Edit
print("Hello world")->print("I've updated")
Expected: Should reload the application
Result: Does nothing
Seems like StarletteApplication probably needs something like self.options.reload = debug?
CC @taeold