@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.
- package/dist/browser/phpsandbox-sdk.esm.js +1 -2
- package/dist/browser/phpsandbox-sdk.esm.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.esm.min.js +1 -1
- package/dist/browser/phpsandbox-sdk.esm.min.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.iife.js +1 -2
- package/dist/browser/phpsandbox-sdk.iife.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.iife.min.js +1 -1
- package/dist/browser/phpsandbox-sdk.iife.min.js.map +2 -2
- package/dist/filesystem.d.ts +1 -1
- package/dist/filesystem.d.ts.map +1 -1
- package/dist/filesystem.js +1 -2
- package/dist/filesystem.js.map +1 -1
- package/package.json +1 -1
|
@@ -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);
|