Skip to content

Commit

Permalink
spawn server
Browse files Browse the repository at this point in the history
  • Loading branch information
bunsenstraat committed Sep 10, 2024
1 parent 5a46566 commit 90c580a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/remixdesktop/test/lib/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 90c580a

Please sign in to comment.