Merge pull request #24 from Pra3t0r5/main d870778f
fix: enable parallel TypeScript compilation in RPC installer dev script
Steve Simkins · 2025-10-13 11:52 2 file(s) · +3 −3
src/index.ts +1 −1
1 1
#!/usr/bin/env node
2 2
3 -
// @ts-ignore: Shebang line
3 +
// @ts-expect-error: Shebang line
4 4
5 5
import { create } from "@/commands/create";
6 6
import { program } from "@/program";
src/installers/rpc.ts +2 −2
32 32
		const serverPkgPath = path.join(projectPath, "server", "package.json");
33 33
		const serverPkg = await fs.readJson(serverPkgPath);
34 34
35 -
		// Update the dev script to include TypeScript compilation
36 -
		serverPkg.scripts.dev = "bun --watch run src/index.ts && tsc --watch";
35 +
		// Update the dev script to include parallel TypeScript compilation
36 +
		serverPkg.scripts.dev = "bun --watch run src/index.ts & tsc --watch";
37 37
38 38
		await fs.writeJson(serverPkgPath, serverPkg, { spaces: 2 });
39 39