You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{serve}from"bun";constserver=serve({fetch(){returnnewResponse("Hello world");},port: 0,});constres=awaitfetch(`http://${server.hostname}:${server.port}`);if(res.status!==200)throw"fail from server";if((awaitres.text())!=="Hello world")throw"fail from server";server.stop();console.log("ok");
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
I'm not sure if it's related or not but this reminds me of Lerna issue that was only observed on Windows and was caused by a child process missing option and just adding windowsHide: false to execachild_process (in this PR) fixed the issue.
What version of Bun is running?
No response
What platform is your computer?
No response
What steps can reproduce the bug?
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: