Skip to content

Commit

Permalink
fix: unable to start picjs server on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanosdev committed Mar 14, 2024
1 parent 7d4c243 commit a4e046d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test-bun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ on:
jobs:
test_bun:
name: Test (Bun)
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ on:
jobs:
test_nodejs:
name: Test (NodeJS)
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down
5 changes: 0 additions & 5 deletions packages/pic/src/pocket-ic-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ export class PocketIcServer {

const serverProcess = spawn(binPath, ['--pid', pid.toString()], {
stdio: 'ignore',
env: {
POCKET_IC_LOG_DIR: resolve(__dirname, '..', 'logs'),
POCKET_IC_LOG_DIR_LEVELS:
'pocket_ic_server=trace,tower_http=trace,axum=trace',
},
});

serverProcess.on('error', error => {
Expand Down

0 comments on commit a4e046d

Please sign in to comment.