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
@Electroid Its not a debug issue. I've discovered its actually an event loop issue sorry. Its the ONLY thing blocking NX now
Adding setTimeout(() => {}, 1000); in nx resolves the issue.
Jordan-Hall
changed the title
NX: Code only works when using --inspect-brk
NX: Event loop issue - Code only works when using --inspect-brk setTimeout(() => {}, 1000); resolves the issue
Sep 14, 2023
robobun
changed the title
NX: Event loop issue - Code only works when using --inspect-brk setTimeout(() => {}, 1000); resolves the issue
NX: Event loop issue - Code only works when using --inspect-brk setTimeout(() => {}, 1000); resolves the issue
Sep 14, 2023
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
1.0.1+31aec4ebe325982fc0ef27498984b0ad9969162b
1.0.1+6e1472b9f827c62522b8986076201797c0e0eb16
What platform is your computer?
Linux 6.1.0-11-amd64 x86_64 unknown
What steps can reproduce the bug?
Repo: https://github.com/Jordan-Hall/nx-bun-template
Command:
bun ./node_modules/nx/bin/nx.js run server:serve
Command:
bun --inspect-brk ./node_modules/nx/bin/nx.js run server:serve
Command:
npx nx run server:serve
What is the expected behavior?
Either completely broken or completely working
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: