how to use dev mode once the app is already deploy...
# ask-ai
g
how to use dev mode once the app is already deployed?
t
Thanks for reaching out, Zachary. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To use dev mode in LiveKit after the app is already deployed, you would typically need to restart the server or worker in development mode. For the LiveKit Server, you can start it in dev mode using the command:
Copy code
livekit-server --dev
This will use the default API key/secret pair (API key:
devkey
, API secret:
secret
). For LiveKit Agents, you can use the CLI command:
Copy code
dev --log-level DEBUG --url [LIVEKIT_URL] --api-key [API_KEY] --api-secret [API_SECRET]
This enables features like DEBUG level logging, file watching for changes, and tracing information. Note that enabling dev mode might require restarting the application in this mode, as it is typically set at the start of the server or worker process. Sources: Running LiveKit locally | LiveKit Docs | GitHub::livekit::agents | livekit-agents/livekit/agents/cli/_run.py