docs(runtime): fix some typo. (#5451)

This commit is contained in:
Zong
2023-09-16 05:10:04 +08:00
committed by GitHub
parent 8eabb4d1d5
commit 575a85a3fd
3 changed files with 8 additions and 5 deletions

View File

@@ -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.
---

View File

@@ -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

View File

@@ -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": {