load all clients after running 'put' command

This commit is contained in:
Gokcehan committed 2018-06-15 16:34:44 +03:00
1 parent ba01f85340
commit 51101f7020
1 file changed
+3 -1
+3 -1
View File
@@ -373,7 +373,9 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.printf("put: %s", err) app.ui.printf("put: %s", err)
return return
} }
app.nav.renew() if err := sendRemote("send load"); err != nil {
app.ui.printf("put: %s", err)
}
if err := sendRemote("send sync"); err != nil { if err := sendRemote("send sync"); err != nil {
app.ui.printf("put: %s", err) app.ui.printf("put: %s", err)
} }