From a31d69bf936d0b32d16eaa5f8c914d95e46f3455 Mon Sep 17 00:00:00 2001 From: DuGlaser Date: Fri, 15 Sep 2023 07:19:37 +0900 Subject: fix(docs): Fix the text that `bun run --bun` is the same as `bun` (#4647) * fix(docs): Fix the text that `bun run --bun` is the same as `bun` * Updates --------- Co-authored-by: Colin McDonnell --- docs/cli/run.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/cli/run.md') diff --git a/docs/cli/run.md b/docs/cli/run.md index 65c4842cc..dcd7edd52 100644 --- a/docs/cli/run.md +++ b/docs/cli/run.md @@ -26,10 +26,11 @@ $ bun run index.ts $ bun run index.tsx ``` -The "naked" `bun` command is equivalent to `bun run`. +Alternatively, you can omit the `run` keyword and use the "naked" command; it behaves identically. ```bash $ bun index.tsx +$ bun index.js ``` ### `--watch` -- cgit v1.2.3