Open GGAlanSmithee opened 11 months ago
1.0.7
Windows 10, WSL 2 with Ubuntu-20.04
bunx create-next-app
/mnt
server.ts
server.js
bun --bun server.ts
app/page.tsx
the file is updated with live reload
nothing happens, until you refresh the browser
This works as expected if
I encountered the same problem. I resolved this problem using nodemon accrording to the official website.
nodemon
https://github.com/vercel/next.js/tree/canary/examples/custom-server
What version of Bun is running?
1.0.7
What platform is your computer?
Windows 10, WSL 2 with Ubuntu-20.04
What steps can reproduce the bug?
bunx create-next-app
(y to all prompts) 1a. If on WSL, do not place the project under/mnt
server.ts
instead ofserver.js
bun --bun server.ts
and open http://localhost:3000 in your browserapp/page.tsx
What is the expected behavior?
the file is updated with live reload
What do you see instead?
nothing happens, until you refresh the browser
Additional information
This works as expected if