watch command: monitoring mechanism,
when watch is applied on ls, it is to monitor the changes of the path of the node, such as creating child nodes and deleting nodes.
When watch is applied on get, it is to monitor changes in the value of the node
PS: The validity period of adding watch monitoring is only once, if you want to monitor next time, you need to watch it on the command line again
zookeeper API