We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a9a9b commit 352f90dCopy full SHA for 352f90d
scripts/download-core-build.js
@@ -15,6 +15,7 @@ const BUILD_FILES = [`libpowersync-wasm.a`];
15
const LIBS_DIR = path.resolve(__dirname, '../powersync-libs');
16
17
async function directoryExists(path) {
18
+ console.log(`Checking directory ${path}`);
19
try {
20
const stats = await fs.stat(path);
21
return stats.isDirectory();
@@ -29,8 +30,11 @@ async function directoryExists(path) {
29
30
}
31
32
async function downloadDynamicCore() {
33
+ console.log('Downloading PowerSync Core');
34
+
35
const exists = await directoryExists(LIBS_DIR);
36
if (!exists) {
37
+ console.log(`Creating libs directory ${LIBS_DIR}`);
38
await fs.mkdir(LIBS_DIR);
39
40
0 commit comments