fix(sync): when called with --only-peers
Compare changes
@@ -382,16 +382,23 @@ export class RemoteSynchronizer extends AbstractSynchronizer {
When 'sync' is called with option '--only-peers', the path to function 'RemoteSynchronizer.getPeers()' is not the same as the default.
In this case we need to ensure that 'init()' was properly called and proceed without a watcher.