-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Vite with vite-plugin-checker plugin don't exit the process after finishing bun run build #9998
Comments
I've just tested with bun v1.1.2 and the issue is still there. |
After some more debugging I found the issue is related to this vite pluging: vite-plugin-checker Basically, when adding the "checker" plugin to vite.config I can repro it:
Removing the checker line in the vite.config plugins, solves the issue. I've updated my repro to simplify it and only add this plugin to a clean |
I have the same issue on Removing the plugins: [
react(),
// checker({
// typescript: true,
// })
] |
What version of Bun is running?
1.1.1+ca1dbb4eb
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
Repro here: https://github.com/adrifer/BunBuildRepro
These are the steps to follow on that repo:
What is the expected behavior?
bun run build
should finish when everything is completeWhat do you see instead?
Most of the times, after succeeding one of the two build steps, it gets stuck and nothing happen. I think the process doesn't exit. This works fine with yarn and npm.
![image](https://private-user-images.githubusercontent.com/812246/320100857-1cc69061-e4a8-441f-adb6-8f05de16bb3b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzNjY5NjcsIm5iZiI6MTcyMDM2NjY2NywicGF0aCI6Ii84MTIyNDYvMzIwMTAwODU3LTFjYzY5MDYxLWU0YTgtNDQxZi1hZGI2LThmMDVkZTE2YmIzYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwN1QxNTM3NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZjQ1NGJjZDgzN2RlOTNhYmNhYmVkM2Q0MTgyYWMzMGVmYjMyNjdmZjI5MDNkZjE0NjFkMjAzZDcwMzFlNjdlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9._XaqTLXu9OXH_3HXDVpDufhmt4hfCTxPIfje0zV1IHQ)
It gets stuck and process doesn't exit after finishing the build step.
Additional information
When using the Dockerfile to build the image I can repro it every time.
The text was updated successfully, but these errors were encountered: