diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-09 08:01:46 (GMT) |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-29 19:47:05 (GMT) |
commit | 262500028cb5e6c278cbc0f0a2694b50833dc3ec (patch) | |
tree | 4bf82f767fb7b1870714c041dc9e64ea68c30210 /Help | |
parent | 0d96e1932937b866343ae8b52c20e0a8c058f3b2 (diff) | |
download | CMake-262500028cb5e6c278cbc0f0a2694b50833dc3ec.zip CMake-262500028cb5e6c278cbc0f0a2694b50833dc3ec.tar.gz CMake-262500028cb5e6c278cbc0f0a2694b50833dc3ec.tar.bz2 |
server-mode: Report watched files to client
* Add a command to report watched files and directories to clients.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-server.7.rst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Help/manual/cmake-server.7.rst b/Help/manual/cmake-server.7.rst index f662125..a97def7 100644 --- a/Help/manual/cmake-server.7.rst +++ b/Help/manual/cmake-server.7.rst @@ -635,3 +635,26 @@ CMake will respond with the following output:: The output can be limited to a list of keys by passing an array of key names to the "keys" optional field of the "cache" request. + + +Type "fileSystemWatchers" +^^^^^^^^^^^^^^^^^^^^^^^^^ + +The server can watch the filesystem for changes. The "fileSystemWatchers" +command will report on the files and directories watched. + +Example:: + + [== CMake Server ==] + {"type":"fileSystemWatchers"} + [== CMake Server ==] + +CMake will respond with the following output:: + + [== CMake Server ==] + { + "cookie":"","inReplyTo":"fileSystemWatchers","type":"reply", + "watchedFiles": [ "/absolute/path" ], + "watchedDirectories": [ "/absolute" ] + } + [== CMake Server ==] |