@phpsandbox/sdk 0.0.28 → 0.0.29

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.
@@ -532,8 +532,7 @@ var Filesystem = class {
532
532
  };
533
533
  const subscription = new FilesystemSubscription(path, this.okra, wrappedDisposable);
534
534
  this.watches.set(path, { options, path, onDidChange });
535
- this.okra.invoke("fs.watch", { path, options });
536
- return subscription;
535
+ return this.okra.invoke("fs.watch", { path, options }).then(() => subscription);
537
536
  }
538
537
  exists(path) {
539
538
  return this.stat(path).then(() => true).catch(() => false);