spawn server

pull/5200/head
bunsenstraat 3 months ago
parent 5a46566220
commit 90c580a421
  1. 2
      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<ChildProcess> {
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) {

Loading…
Cancel
Save