"--watch" flag doesn't work on langgraph up
Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangGraph/LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangGraph/LangChain rather than my code.
- [X] I am sure this is better as an issue rather than a GitHub discussion, since this is a LangGraph bug and not a design question.
Example Code
langgraph up --watch
Error Message and Stack Trace (if applicable)
langgraph up --watch
Starting LangGraph API server...
For local dev, requires env var LANGSMITH_API_KEY with access to LangGraph Cloud closed beta.
For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KEY.
\ Building...unknown flag: --watch
Description
langgraph-cli documentation has --watch flag however when I tried to run, it doesn't work. Could you help to resolve? I am using latest cli as well.
https://langchain-ai.github.io/langgraph/cloud/reference/cli/#up
System Info
windows python 3.12.5
Do you have an old langgraph-cli version?
pip show langgraph-cli
Do you have an old langgraph-cli version?
pip show langgraph-cli
Thanks for reply, latest version: 0.1.52
Hello! A bit late now, but we'd recommend using langgraph dev for local development now that it's available: https://langchain-ai.github.io/langgraph/how-tos/local-studio/
Going to close, but please let us know if you are still running into this issue with langgraph dev