From 68172068f08750d3504524236a78864beea38457 Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Sat, 13 Apr 2024 23:32:41 +0530 Subject: [PATCH] db-tabulator: fix passing args to child process !web-restart --- db-tabulator/preprocess.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db-tabulator/preprocess.ts b/db-tabulator/preprocess.ts index db428c0..0347690 100644 --- a/db-tabulator/preprocess.ts +++ b/db-tabulator/preprocess.ts @@ -18,7 +18,7 @@ export async function processQueriesExternally(page: string) { const { signal } = controller; const child = fork( __dirname + '/external-update.js', - [page].concat(argv.fake ? ['--fake'] : []), + ['--page', page].concat(argv.fake ? ['--fake'] : []), { execArgv: ['--no-node-snapshot'], // required for node 20+ signal