Bug Description
When running oats start, it should kill the already running port if autoKill is enabled but intermittently it failed to free up the port. Please fix this issue.
🚀 Starting backend service...
⚠️ Port 4000 is already in use for backend
✖ Failed to free port 4000 after killing processes
✖ Failed to free port 4000
❌ Failed to start services
Steps to Reproduce
- Run backend on 4000 port.
- Now run oats start
- It will show unable to free up the port.
- Then shutdown the oats.
Expected Behavior
It should free up the port. Run the application on the same port.
Actual Behavior
🚀 Starting backend service...
⚠️ Port 4000 is already in use for backend
✖ Failed to free port 4000 after killing processes
✖ Failed to free port 4000
❌ Failed to start services
oats.config.json
Error Logs
oats Version
Latest
Node.js Version
21.x
Operating System
macOS
Package Manager
npm
Environment
Additional Context
No response
Code of Conduct
Existing Issues