Skip to content

Commit 56e360f

Browse files
committed
docs: add directive warning in manual setup
1 parent cfb3f9f commit 56e360f

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you are looking for support or want to provide suggestions, check out the [Di
1212

1313
## Links
1414

15-
- [Website](https://commandkit.dev) ([source](https://github.com/underctrl-io/commandkit/tree/main/apps/docs))
15+
- [Website](https://commandkit.dev) ([source](https://github.com/underctrl-io/commandkit/tree/main/apps/website))
1616
- [Support Server](https://ctrl.lol/discord)
1717
- [CommandKit source](https://github.com/underctrl-io/commandkit/tree/main/packages/commandkit)
1818
- [npm](https://www.npmjs.com/package/commandkit)

apps/website/docs/guide/01-getting-started/03-setup-commandkit-manually.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,12 @@ You can use `commandkit start` to start the bot in production mode. This will lo
102102
npx commandkit start
103103
```
104104

105-
:::info
106105
If you want to manually start the bot in production mode, you can alternatively use the following command:
107106

108107
```sh
109108
node dist/index.js
110109
```
111110

112-
The `dist/index.js` file is generated by CommandKit.
113-
111+
:::warning
112+
Directives such as `'use cache'` will **NOT** work when you manually start your bot (e.g. `node dist/index.js`). For directives to work, you must use the CommandKit CLI to run the application in development and production.
114113
:::

0 commit comments

Comments
 (0)