I had bun build --watch running in the background for a while (several days), and out of nowhere just found it in a crashed state. Did not do anything out of the ordinary other than edit the same file I was editing before.
The full command was bun build ./src/client/*.ts --outdir ./dist/ --minify --watch.
That wildcard expands to four small .ts files... No files or folders were moved around.
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.30 (7996d06) on macos aarch64 [BuildCommand]
How can we reproduce the crash?
I had
bun build --watch
running in the background for a while (several days), and out of nowhere just found it in a crashed state. Did not do anything out of the ordinary other than edit the same file I was editing before.The full command was
bun build ./src/client/*.ts --outdir ./dist/ --minify --watch
.That wildcard expands to four small .ts files... No files or folders were moved around.
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.30 (
7996d06
) on macos aarch64 [BuildCommand]panic: Unexpected error while reloading: 2 NOENT
src.output.panic__anon_157958
src.bun.reloadProcess__anon_147318
src.bun.js.javascript.NewHotReloader
Thread.PosixThreadImpl.spawn__anon_112042.Instance.entryFn
Features: bunfig