aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index c4227dfad..5733a2aa8 100644
--- a/README.md
+++ b/README.md
@@ -1012,6 +1012,10 @@ You can disable that with `--silent`
bun run --silent clean
```
+`bun run ${script-name}` runs the equivalent of `npm run script-name`. For example, `bun run dev` runs the `dev` script in `package.json`, which may sometimes spin up non-bun processes.
+
+`bun run ${javascript-file.js}` will run it with bun, as long as the file doesn't have a node shebang.
+
To print a list of `scripts`, `bun run` without additional args:
```bash