mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 22:01:47 +00:00
docs(runtime): fix some typo. (#5451)
This commit is contained in:
@@ -269,6 +269,9 @@ Valid values are:
|
||||
|
||||
{% table %}
|
||||
|
||||
- Value
|
||||
- Description
|
||||
|
||||
---
|
||||
|
||||
- `"auto"`
|
||||
@@ -277,12 +280,12 @@ Valid values are:
|
||||
---
|
||||
|
||||
- `"force"`
|
||||
- Always auto-install dependencies, even if `node_modules` exists
|
||||
- Always auto-install dependencies, even if `node_modules` exists.
|
||||
|
||||
---
|
||||
|
||||
- `"disable"`
|
||||
- Never auto-install dependencies
|
||||
- Never auto-install dependencies.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Bun supports two kinds of automatic reloading via CLI flags:
|
||||
|
||||
- `--watch` mode, which hard restarts Bun's process when imported files change/
|
||||
- `--watch` mode, which hard restarts Bun's process when imported files change.
|
||||
- `--hot` mode, which soft reloads the code (without restarting the process) when imported files change.
|
||||
|
||||
## `--watch` mode
|
||||
|
||||
@@ -24,7 +24,7 @@ export function hello() {
|
||||
|
||||
{% /codetabs %}
|
||||
|
||||
When we run `index.ts`, it prints "Hello world".
|
||||
When we run `index.ts`, it prints "Hello world!".
|
||||
|
||||
```bash
|
||||
$ bun index.ts
|
||||
@@ -197,7 +197,7 @@ Bun respects subpath [`"exports"`](https://nodejs.org/api/packages.html#subpath-
|
||||
|
||||
Subpath imports and conditional imports work in conjunction with each other.
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"name": "foo",
|
||||
"exports": {
|
||||
|
||||
Reference in New Issue
Block a user