langgraph icon indicating copy to clipboard operation
langgraph copied to clipboard

"--watch" flag doesn't work on langgraph up

Open junan-trustarc opened this issue 1 year ago • 2 comments

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

junan-trustarc avatar Oct 04 '24 21:10 junan-trustarc

Do you have an old langgraph-cli version?

pip show langgraph-cli

hinthornw avatar Oct 04 '24 22:10 hinthornw

Do you have an old langgraph-cli version?

pip show langgraph-cli

Thanks for reply, latest version: 0.1.52

junan-trustarc avatar Oct 04 '24 22:10 junan-trustarc

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/

hinthornw avatar Nov 21 '24 01:11 hinthornw

Going to close, but please let us know if you are still running into this issue with langgraph dev

vbarda avatar Dec 20 '24 17:12 vbarda