From 90c580a42169acbd10b5cea431668bb65796fbab Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Tue, 10 Sep 2024 15:27:41 +0200 Subject: [PATCH] spawn server --- apps/remixdesktop/test/lib/git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remixdesktop/test/lib/git.ts b/apps/remixdesktop/test/lib/git.ts index 2a04570819..2a47d54477 100644 --- a/apps/remixdesktop/test/lib/git.ts +++ b/apps/remixdesktop/test/lib/git.ts @@ -171,7 +171,7 @@ export async function createCommitOnLocalServer(path: string, message: string) { export async function spawnGitServer(path: string): Promise { console.log(process.cwd()) try { - const server = spawn('yarn && sh setup.sh && npx ts-node server.ts', [`${path}`], { cwd: process.cwd() + '/../remix-ide-e2e/src/githttpbackend/', shell: true, detached: true }) + const server = spawn('yarn && sh setup.sh && yarn start:server', [`${path}`], { cwd: process.cwd() + '/../remix-ide-e2e/src/githttpbackend/', shell: true, detached: true }) console.log('spawned', server.stdout.closed, server.stderr.closed) return new Promise((resolve, reject) => { server.stdout.on('data', function (data) {