Skip to content

Commit 1a3ae8d

Browse files
committed
chore(docs): update bun guide
1 parent ef3bf8f commit 1a3ae8d

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

docs/guides/frameworks/bun.mdx

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
22
title: "Bun guide"
33
sidebarTitle: "Bun"
4-
description: "This guide will show you how to setup Trigger.dev with Bun"
4+
description: "This guide will show you how to setup Trigger.dev in your existing Bun project, test an example task, and view the run."
55
icon: "js"
66
---
77

88
import Prerequisites from "/snippets/framework-prerequisites.mdx";
99
import CliRunTestStep from "/snippets/step-run-test.mdx";
1010
import CliViewRunStep from "/snippets/step-view-run.mdx";
1111

12-
<Warning>A specific Bun version is currently required for the dev command to work. This is due to a [bug](https://github.com/oven-sh/bun/issues/13799) with IPC. Please use Bun version 1.1.24 or lower: `curl -fsSL https://bun.sh/install | bash -s -- bun-v1.1.24`</Warning>
13-
14-
We now have experimental support for Bun. This guide will show you have to setup Trigger.dev in your existing Bun project, test an example task, and view the run.
15-
16-
<Warn>
17-
The trigger.dev CLI does not yet support Bun. So you will need to run the CLI using Node.js. But
12+
<Warning>
13+
The trigger.dev CLI does not yet support Bun. So you will need to run the CLI using Node.js.
1814
Bun will still be used to execute your tasks, even in the `dev` environment.
19-
</Warn>
15+
</Warning>
2016

2117
<Prerequisites framework="Bun" />
2218

19+
## Known issues
20+
21+
- Certain OpenTelemetry instrumentation will not work with Bun, because Bun does not support Node's `register` hook. This means that some libraries that rely on this hook will not work with Bun.
22+
2323
## Initial setup
2424

2525
<Steps>
@@ -109,7 +109,3 @@ yarn dlx trigger.dev@latest dev
109109
<CliViewRunStep />
110110

111111
</Steps>
112-
113-
## Known issues
114-
115-
- Certain OpenTelemetry instrumentation will not work with Bun, because Bun does not support Node's `register` hook. This means that some libraries that rely on this hook will not work with Bun.

0 commit comments

Comments
 (0)