Fix dev startup by freeing UDP DNS port 5533.
local-test-dns-server binds UDP; freePort previously only cleared TCP listeners. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -52,6 +52,11 @@ function freePort(port) {
|
||||
} catch {
|
||||
// port already free
|
||||
}
|
||||
try {
|
||||
execSync(`lsof -ti UDP:${port} | xargs kill -9`, { stdio: 'ignore' });
|
||||
} catch {
|
||||
// port already free
|
||||
}
|
||||
}
|
||||
|
||||
function spawnChild(command, args, label, cwd = root, extraEnv = {}) {
|
||||
|
||||
Reference in New Issue
Block a user