-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syntax errors hang server #44
Comments
Hi, this is a known limitation, only error in PR welcome to add a notice section into README. |
It means the content of runAsWorker(async () => {
const {} = await import('./may-have-syntax-error')
}) |
Ohhh, this is brilliant! Thank you! 🎉 |
Hello, thank you for this wonderful library! I'm currently using this in a Babel plugin and when testing with Jest it will hang and never complete the test if there's any sort of syntax error. Is there a way to surface these errors and kill the process if that happens? For example, you can just comment random code in
runAsWorker
and it should get stuck:The text was updated successfully, but these errors were encountered: