Skip to content

Commit

Permalink
Merge pull request #25 from johnal95/main
Browse files Browse the repository at this point in the history
Update dev.ts spawn sync options to make TypeScript happy
  • Loading branch information
dtauer authored Nov 21, 2023
2 parents a8d9115 + cbc1540 commit ebdf466
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/dev/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ async function go() {
console.log(`🏎 Starting dev for ./${app.relativePath}`);

cp.spawnSync(`npm run dev -s`, {
// @ts-expect-error no idea what's up with this, but it works as expected
cwd: app.fullPath,
shell: true,
stdio: "inherit",
env: { PORT: app.portNumber, ...process.env },
env: { PORT: String(app.portNumber), ...process.env },
});
}

Expand Down

0 comments on commit ebdf466

Please sign in to comment.