diff --git a/packages/livebundle-storage-fs/src/FsStoragePlugin.ts b/packages/livebundle-storage-fs/src/FsStoragePlugin.ts index 77ed5b0..13d08f5 100644 --- a/packages/livebundle-storage-fs/src/FsStoragePlugin.ts +++ b/packages/livebundle-storage-fs/src/FsStoragePlugin.ts @@ -30,7 +30,7 @@ export class FsStoragePlugin implements StoragePlugin { this.storageDir = fsConfig.storageDir ? untildifyPath(fsConfig.storageDir) : tmp.dirSync({ unsafeCleanup: true }).name; - fs.ensureDir(this.storageDir); + fs.ensureDirSync(this.storageDir); } hasFile(filePath: string): Promise {