@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
|
@@ -574,8 +574,7 @@ var PHPSandbox = (() => {
|
|
|
574
574
|
};
|
|
575
575
|
const subscription = new FilesystemSubscription(path, this.okra, wrappedDisposable);
|
|
576
576
|
this.watches.set(path, { options, path, onDidChange });
|
|
577
|
-
this.okra.invoke("fs.watch", { path, options });
|
|
578
|
-
return subscription;
|
|
577
|
+
return this.okra.invoke("fs.watch", { path, options }).then(() => subscription);
|
|
579
578
|
}
|
|
580
579
|
exists(path) {
|
|
581
580
|
return this.stat(path).then(() => true).catch(() => false);
|