pencil-team 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9387,7 +9387,14 @@ class PenSync {
|
|
|
9387
9387
|
platform: getPlatform(),
|
|
9388
9388
|
selectedNodes: []
|
|
9389
9389
|
});
|
|
9390
|
-
|
|
9390
|
+
setTimeout(() => {
|
|
9391
|
+
this.writeLocalFile();
|
|
9392
|
+
if (!this.initialSyncDone) {
|
|
9393
|
+
this.initialSyncDone = true;
|
|
9394
|
+
this.setupFileWatcher();
|
|
9395
|
+
}
|
|
9396
|
+
this.options.onConnected?.();
|
|
9397
|
+
}, 2000);
|
|
9391
9398
|
});
|
|
9392
9399
|
this.ws.on("message", (data) => {
|
|
9393
9400
|
const message = new Uint8Array(data);
|