From ff8d66f72ce2ea7ab660fcf936c8a15f40afe4fa Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 4 Nov 2016 14:46:33 +0100 Subject: [PATCH] docs: --sync works even when widget's target = [] --- resources/docs/getting-started.md | 2 +- resources/docs/user-guide/widgets-generics.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md index 35f94249..1cfcbd0f 100644 --- a/resources/docs/getting-started.md +++ b/resources/docs/getting-started.md @@ -8,7 +8,7 @@ Prebuilt binaries for Linux, Windows and OS X can be found on the [release](http ``` Options: - -s, --sync synchronized hosts (ip:port pairs) + -s, --sync synchronized hosts (ip:port pairs) (osc messages sent by widgets will be also send to these targets) -l, --load session file to load -c, --custom-module custom module file to load -p, --port http port of the server (default to 8080) diff --git a/resources/docs/user-guide/widgets-generics.md b/resources/docs/user-guide/widgets-generics.md index 322d7a7d..d5522101 100644 --- a/resources/docs/user-guide/widgets-generics.md +++ b/resources/docs/user-guide/widgets-generics.md @@ -84,6 +84,7 @@ A widget object is a javascript object. All widgets share a set of generic prope - this defines the targets of the widget's osc messages - each element of the `array` must be a string formatted as follows : `"ip:port"` - multiple targets can be specified : `["ip1:port1","ip2:port2"]` + - if no target is set, messages can still be sent if the server has synchronized hosts (`-s / --sync`) #### `address` - type: `string`