Skip to content

Commit d05eb64

Browse files
committed
Updated the cli-dev steps for the concurrently package
1 parent c2abb8a commit d05eb64

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

docs/cli-dev.mdx

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,32 @@ yarn dlx trigger.dev@beta dev --debugger
5151

5252
### Concurrently running the terminal
5353

54-
Install the concurrently package as a dev dependency:
54+
The concurrently package allows you to run multiple package.json scripts at the same time – in this case, your site and Trigger.dev.
5555

56-
```ts
57-
concurrently --raw --kill-others npm:dev:remix npm:dev:trigger
56+
<Steps>
57+
58+
<Step title="Install the concurrently package as a dev dependency">
59+
60+
<CodeGroup>
61+
62+
```bash npm
63+
npm i concurrently -D
64+
```
65+
66+
```bash pnpm
67+
pnpm i concurrently -D
68+
```
69+
70+
```bash yarn
71+
yarn i concurrently -D
5872
```
5973

74+
</CodeGroup>
75+
76+
</Step>
77+
78+
<Step title="Update your package.json">
79+
6080
Then add something like this in your package.json scripts. This assumes you're running Next.js so swap that bit out if you're not:
6181

6282
```json
@@ -66,4 +86,8 @@ Then add something like this in your package.json scripts. This assumes you're r
6686
"dev:trigger": "npx trigger.dev@beta dev",
6787
//...
6888
}
69-
```
89+
```
90+
91+
</Step>
92+
93+
</Steps>

0 commit comments

Comments
 (0)