makecc 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cli.js CHANGED
@@ -64,9 +64,9 @@ async function main() {
64
64
 
65
65
  // Start the server using tsx
66
66
  const serverPath = join(rootDir, 'server', 'index.ts');
67
- const tsxPath = join(rootDir, 'node_modules', '.bin', 'tsx');
68
67
 
69
- const serverProcess = spawn(tsxPath, [serverPath], {
68
+ // tsx 실행 파일 찾기 - npx 환경에서도 작동하도록
69
+ const serverProcess = spawn('npx', ['tsx', serverPath], {
70
70
  cwd: rootDir,
71
71
  env: {
72
72
  ...process.env,