Closed RichDom2185 closed 1 month ago
We do not support Bun, please create an issue on their repo.
We do not support Bun
Ok, I've filed the issue in https://github.com/oven-sh/bun/issues/13391. Why is bun in the official Astro Docs though (link, also in issue description)? It's even listed under Official Recipes.
We do not support Bun
Ok, I've filed the issue in https://github.com/oven-sh/bun/issues/13391. Why is bun in the official Astro Docs though (link, also in issue description)? It's even listed under Official Recipes.
Bun is a drop-in replacement for Node.js, so if something that works for Node.js, doesn't work for bun, it means that it's a bug in bun.
It's always been like this since bun was launched, and what Jarred said.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Astro Docs suggests the use of the
--bun
flag when running commands to use the Bun runtime over Node:Change the configuration file (e.g. change the server port, but could be anything that gives a noticeable change):
Logs are printed:
But the changes don't actually take effect. The server still resides on port
4321
.Likewise for any other change to
astro.config.mjs
Tested using Bun v1.1.8 and v1.1.24 (latest at the time of writing).
What's the expected result?
It should actually restart and update the configuration.
Link to Minimal Reproducible Example
NA (any example works, even the minimal example)
Participation