Skip to content

Commit f7092d3

Browse files
committed
Concurrently running the terminal
1 parent 6e80fba commit f7092d3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/cli-dev.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,22 @@ yarn dlx trigger.dev@beta dev --debugger
4848
```
4949

5050
</CodeGroup>
51+
52+
### Concurrently running the terminal
53+
54+
Install the concurrently package as a dev dependency:
55+
56+
```ts
57+
concurrently --raw --kill-others npm:dev:remix npm:dev:trigger
58+
```
59+
60+
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:
61+
62+
```json
63+
"scripts": {
64+
"dev": "concurrently --raw --kill-others npm:dev:*",
65+
"dev:next": "next dev",
66+
"dev:trigger": "npx trigger.dev@beta dev",
67+
//...
68+
}
69+
```

0 commit comments

Comments
 (0)