oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.26k stars 2.69k forks source link

bunfig's [run] section not working #11445

Open maranomynet opened 3 months ago

maranomynet commented 3 months ago

What version of Bun is running?

1.1.10

What platform is your computer?

Darwin 23.1.0 arm64 arm

What steps can reproduce the bug?

bunfig.toml:

[run]
silent = true

Run command

$ bun run dev

What is the expected behavior?

bun run dev should not print the command being run, as explained in https://bun.sh/docs/runtime/bunfig#bun-run

I should only see the info logged/emitted by the dev script itself — same as if I do bun run --silent dev

What do you see instead?

$ next dev
  ...dev server output...

Additional information

Using the bun setting doesn't work either.

[run]
bun = true

(This is the setting I'm most interested in.)

maranomynet commented 2 months ago

This still remains an issue in bun v1.1.17

ptrxyz commented 1 month ago

This seems to still be broken in 1.1.20

fdruzhinin commented 1 month ago

Exact the same problem is actual and for me. bun 1.1.20 (node 22.5.1) but OS is Windows 23H2. Btw, the way used to install the bun doesn't affects the bug, I checked installation using PowerShell and Winget

Dropheart commented 1 week ago

Still an issue in 1.1.27.