File tree Expand file tree Collapse file tree 1 file changed +28
-4
lines changed Expand file tree Collapse file tree 1 file changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,32 @@ yarn dlx trigger.dev@beta dev --debugger
51
51
52
52
### Concurrently running the terminal
53
53
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.
55
55
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
58
72
```
59
73
74
+ </CodeGroup >
75
+
76
+ </Step >
77
+
78
+ <Step title = " Update your package.json" >
79
+
60
80
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
81
62
82
``` json
@@ -66,4 +86,8 @@ Then add something like this in your package.json scripts. This assumes you're r
66
86
"dev:trigger" : " npx trigger.dev@beta dev" ,
67
87
//...
68
88
}
69
- ```
89
+ ```
90
+
91
+ </Step >
92
+
93
+ </Steps >
You can’t perform that action at this time.
0 commit comments